Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative,fileNamePrefix="Buildings_latest_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_Derivative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative,fileNamePrefix="Buildings_latest_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_Derivative",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.322/2.322, allocations: 393.5 MB / 408.4 MB, free: 11.05 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001093/0.001093, allocations: 176 kB / 0.4901 GB, free: 2.25 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.532/1.532, allocations: 223.1 MB / 0.7992 GB, free: 14.65 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008702/0.00087, allocations: 102.5 kB / 0.9396 GB, free: 1.852 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.00036/0.00036, allocations: 6.875 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2573/0.2577, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1888/0.4466, allocations: 150.4 MB / 1.376 GB, free: 3.004 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003182/0.4469, allocations: 87.94 kB / 1.376 GB, free: 2.918 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.004461/0.4514, allocations: 1.452 MB / 1.378 GB, free: 1.465 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.783e-06/0.4515, allocations: 0 / 1.378 GB, free: 1.465 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.14e-05/0.4515, allocations: 0 / 1.378 GB, free: 1.465 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005293/0.452, allocations: 367.2 kB / 1.378 GB, free: 1.059 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.011e-05/0.4521, allocations: 8.031 kB / 1.378 GB, free: 1.051 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.48e-05/0.4521, allocations: 38.48 kB / 1.378 GB, free: 1.004 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.278e-05/0.4522, allocations: 7.906 kB / 1.378 GB, free: 0.9961 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002705/0.4524, allocations: 190.9 kB / 1.378 GB, free: 0.7695 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.074e-06/0.4525, allocations: 3.938 kB / 1.378 GB, free: 0.7656 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.518e-05/0.4525, allocations: 8 kB / 1.378 GB, free: 0.7578 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001809/0.4527, allocations: 61.67 kB / 1.378 GB, free: 0.6914 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.4527, allocations: 0 / 1.378 GB, free: 0.6914 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.305e-05/0.4527, allocations: 4 kB / 1.378 GB, free: 0.6875 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.541e-06/0.4527, allocations: 0 / 1.378 GB, free: 0.6875 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001993/0.4529, allocations: 55.95 kB / 1.378 GB, free: 0.6328 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005329/0.4535, allocations: 304.8 kB / 1.379 GB, free: 292 kB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001654/0.4537, allocations: 58.48 kB / 1.379 GB, free: 224 kB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.408e-05/0.4537, allocations: 0 / 1.379 GB, free: 224 kB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.779e-05/0.4537, allocations: 38.64 kB / 1.379 GB, free: 176 kB / 0.8698 GB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.4537, allocations: 4 kB / 1.379 GB, free: 172 kB / 0.8698 GB Notification: Performance of matching and sorting (n=4): time 0.0004/0.4541, allocations: 105.6 kB / 1.379 GB, free: 60 kB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001098/0.4543, allocations: 63.3 kB / 1.379 GB, free: 15.98 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001037/0.4544, allocations: 108.9 kB / 1.379 GB, free: 15.87 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.054e-05/0.4544, allocations: 25.7 kB / 1.379 GB, free: 15.84 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 8.548e-05/0.4545, allocations: 88.14 kB / 1.379 GB, free: 15.75 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 3.152e-05/0.4545, allocations: 15.8 kB / 1.379 GB, free: 15.73 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.188e-06/0.4546, allocations: 0 / 1.379 GB, free: 15.73 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001895/0.4547, allocations: 314.8 kB / 1.379 GB, free: 15.42 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000107/0.4549, allocations: 23.98 kB / 1.379 GB, free: 15.39 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001038/0.455, allocations: 35.97 kB / 1.38 GB, free: 15.36 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001178/0.4551, allocations: 28.11 kB / 1.38 GB, free: 15.33 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.4551, allocations: 0 / 1.38 GB, free: 15.33 MB / 0.8855 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003019/0.4554, allocations: 101.6 kB / 1.38 GB, free: 15.23 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.783e-05/0.4555, allocations: 4.375 kB / 1.38 GB, free: 15.22 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.438e-06/0.4555, allocations: 0 / 1.38 GB, free: 15.22 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.947e-05/0.4555, allocations: 0 / 1.38 GB, free: 15.22 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001427/0.4557, allocations: 19.92 kB / 1.38 GB, free: 15.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.165e-05/0.4557, allocations: 7.891 kB / 1.38 GB, free: 15.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.269e-05/0.4558, allocations: 19.92 kB / 1.38 GB, free: 15.18 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.003e-05/0.4558, allocations: 4 kB / 1.38 GB, free: 15.17 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001291/0.4559, allocations: 110.6 kB / 1.38 GB, free: 15.05 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.988e-05/0.4559, allocations: 3.906 kB / 1.38 GB, free: 15.05 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003224/0.4563, allocations: 97.55 kB / 1.38 GB, free: 14.95 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.4563, allocations: 4 kB / 1.38 GB, free: 14.95 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.898e-06/0.4563, allocations: 0 / 1.38 GB, free: 14.95 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.316e-06/0.4563, allocations: 3.953 kB / 1.38 GB, free: 14.94 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000227/0.4566, allocations: 165.7 kB / 1.38 GB, free: 14.73 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.018e-06/0.4566, allocations: 7.938 kB / 1.38 GB, free: 14.72 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001105/0.4567, allocations: 11.98 kB / 1.38 GB, free: 14.71 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/0.4567, allocations: 0 / 1.38 GB, free: 14.71 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.592e-05/0.4567, allocations: 4 kB / 1.38 GB, free: 14.71 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.4567, allocations: 0 / 1.38 GB, free: 14.71 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.4567, allocations: 0 / 1.38 GB, free: 14.71 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005077/0.4573, allocations: 223.4 kB / 1.38 GB, free: 14.47 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 6.005e-05/0.4573, allocations: 85.05 kB / 1.38 GB, free: 14.37 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.084e-05/0.4574, allocations: 0 / 1.38 GB, free: 14.37 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.927e-05/0.4575, allocations: 11.98 kB / 1.38 GB, free: 14.36 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.199e-05/0.4575, allocations: 3.938 kB / 1.38 GB, free: 14.36 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.037e-06/0.4575, allocations: 3.984 kB / 1.38 GB, free: 14.35 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 6.644e-05/0.4576, allocations: 91.22 kB / 1.38 GB, free: 14.26 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.31e-07/0.4576, allocations: 0 / 1.38 GB, free: 14.26 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002421/0.4579, allocations: 8 kB / 1.381 GB, free: 14.25 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (der1.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008956/0.4588, allocations: 0.7593 MB / 1.381 GB, free: 13.46 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0002761/0.4591, allocations: 68.28 kB / 1.381 GB, free: 13.4 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 5.13e-06/0.4591, allocations: 4.062 kB / 1.381 GB, free: 13.39 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 9.955e-05/0.4592, allocations: 27.98 kB / 1.381 GB, free: 13.37 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000288/0.4595, allocations: 8.219 kB / 1.381 GB, free: 13.36 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001295/0.4608, allocations: 0.5183 MB / 1.382 GB, free: 12.79 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004071/0.4612, allocations: 0.6887 MB / 1.383 GB, free: 12.07 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 4.255e-05/0.4613, allocations: 7.938 kB / 1.383 GB, free: 12.06 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.185e-05/0.4613, allocations: 11.44 kB / 1.383 GB, free: 12.05 MB / 0.8855 GB Notification: Performance of SimCode: time 5.741e-06/0.4613, allocations: 0 / 1.383 GB, free: 12.05 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01575/0.4771, allocations: 1.354 MB / 1.384 GB, free: 10.88 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002026/0.4774, allocations: 204.1 kB / 1.384 GB, free: 10.63 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.513/1.99, allocations: 0 / 1.384 GB, free: 10.63 MB / 0.8855 GB (rm -f Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative.pipe ; mkfifo Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative.pipe ; head -c 1048576 < Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative.pipe >> ../files/Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative_res.mat --tempDir=temp_Buildings_latest_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_Derivative_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_Derivative.fmu > Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative_res.mat does not exist to compare? outputFormat=mat