Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.ChangeSign.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.ChangeSign,fileNamePrefix="Buildings_latest_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_ChangeSign",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.ChangeSign,fileNamePrefix="Buildings_latest_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_ChangeSign",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.472/2.472, allocations: 393.5 MB / 408.4 MB, free: 11.03 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.001407/0.001407, allocations: 180 kB / 0.4901 GB, free: 2.238 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.604/1.604, allocations: 223.1 MB / 0.7992 GB, free: 14.72 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.0009953/0.0009953, allocations: 103.9 kB / 0.9396 GB, free: 1.902 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003876/0.0003876, allocations: 14.19 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3522/0.3526, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2018/0.5544, allocations: 150.1 MB / 1.376 GB, free: 3.383 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002449/0.5547, allocations: 87.94 kB / 1.376 GB, free: 3.297 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.001456/0.5562, allocations: 0.6033 MB / 1.377 GB, free: 2.691 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.693e-06/0.5562, allocations: 0 / 1.377 GB, free: 2.691 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 5.801e-06/0.5562, allocations: 0 / 1.377 GB, free: 2.691 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003636/0.5566, allocations: 343.3 kB / 1.377 GB, free: 2.309 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.582e-05/0.5567, allocations: 12.03 kB / 1.377 GB, free: 2.297 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.289e-05/0.5567, allocations: 30.56 kB / 1.377 GB, free: 2.258 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.652e-05/0.5567, allocations: 7.891 kB / 1.377 GB, free: 2.25 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001152/0.5569, allocations: 175 kB / 1.377 GB, free: 2.039 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.586e-06/0.5569, allocations: 0 / 1.377 GB, free: 2.039 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.001e-05/0.5569, allocations: 3.938 kB / 1.377 GB, free: 2.035 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001748/0.5571, allocations: 61.61 kB / 1.377 GB, free: 1.969 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.744e-06/0.5571, allocations: 0 / 1.377 GB, free: 1.969 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.504e-06/0.5571, allocations: 0 / 1.377 GB, free: 1.969 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.89e-06/0.5571, allocations: 0 / 1.377 GB, free: 1.969 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001597/0.5573, allocations: 39.97 kB / 1.377 GB, free: 1.93 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003932/0.5577, allocations: 268.9 kB / 1.377 GB, free: 1.617 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001165/0.5578, allocations: 42.5 kB / 1.377 GB, free: 1.566 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.297e-05/0.5578, allocations: 4 kB / 1.377 GB, free: 1.562 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.055e-05/0.5579, allocations: 30.56 kB / 1.377 GB, free: 1.523 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=1): time 1.132e-06/0.5579, allocations: 0 / 1.377 GB, free: 1.523 MB / 0.8698 GB Notification: Performance of matching and sorting (n=1): time 0.0003261/0.5582, allocations: 89.8 kB / 1.378 GB, free: 1.43 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.796e-05/0.5582, allocations: 59.36 kB / 1.378 GB, free: 1.359 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.411e-05/0.5583, allocations: 93 kB / 1.378 GB, free: 1.262 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.232e-05/0.5583, allocations: 29.64 kB / 1.378 GB, free: 1.227 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 4.304e-05/0.5584, allocations: 88.06 kB / 1.378 GB, free: 1.137 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 1.493e-05/0.5584, allocations: 7.906 kB / 1.378 GB, free: 1.129 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.374e-06/0.5584, allocations: 0 / 1.378 GB, free: 1.129 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 9.803e-05/0.5585, allocations: 318.9 kB / 1.378 GB, free: 0.8086 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.063e-05/0.5586, allocations: 15.98 kB / 1.378 GB, free: 0.793 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.065e-05/0.5587, allocations: 19.98 kB / 1.378 GB, free: 0.7734 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.919e-05/0.5588, allocations: 24.03 kB / 1.378 GB, free: 0.75 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.5588, allocations: 4 kB / 1.378 GB, free: 0.7461 MB / 0.8698 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001807/0.559, allocations: 65.67 kB / 1.378 GB, free: 0.6758 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/0.559, allocations: 4 kB / 1.378 GB, free: 0.6719 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/0.559, allocations: 4.031 kB / 1.378 GB, free: 0.668 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.086e-05/0.559, allocations: 0 / 1.378 GB, free: 0.668 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.318e-05/0.5591, allocations: 11.98 kB / 1.378 GB, free: 0.6562 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.5591, allocations: 0 / 1.378 GB, free: 0.6562 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.329e-05/0.5592, allocations: 15.94 kB / 1.378 GB, free: 0.6406 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.28e-06/0.5592, allocations: 0 / 1.378 GB, free: 0.6406 MB / 0.8698 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 (1): * Single equations (assignments): 1 * 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 6.983e-05/0.5593, allocations: 110.6 kB / 1.378 GB, free: 0.5234 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.289e-05/0.5593, allocations: 8 kB / 1.378 GB, free: 0.5156 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.854e-05/0.5593, allocations: 7.125 kB / 1.378 GB, free: 0.5117 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.5593, allocations: 3.938 kB / 1.378 GB, free: 0.5078 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.566e-06/0.5593, allocations: 0 / 1.378 GB, free: 0.5078 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.5593, allocations: 0 / 1.378 GB, free: 0.5078 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001422/0.5595, allocations: 161.6 kB / 1.379 GB, free: 308 kB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.5595, allocations: 0 / 1.379 GB, free: 308 kB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.631e-05/0.5596, allocations: 8 kB / 1.379 GB, free: 300 kB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.5596, allocations: 0 / 1.379 GB, free: 300 kB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.223e-06/0.5596, allocations: 8 kB / 1.379 GB, free: 292 kB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.5596, allocations: 7.922 kB / 1.379 GB, free: 284 kB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.033e-06/0.5596, allocations: 4 kB / 1.379 GB, free: 280 kB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002162/0.5598, allocations: 167.4 kB / 1.379 GB, free: 96 kB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.089e-05/0.5599, allocations: 77.11 kB / 1.379 GB, free: 0 / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.911e-05/0.5599, allocations: 8.047 kB / 1.379 GB, free: 15.99 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.487e-05/0.56, allocations: 4 kB / 1.379 GB, free: 15.98 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.964e-05/0.56, allocations: 192 / 1.379 GB, free: 15.98 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.921e-06/0.56, allocations: 7.922 kB / 1.379 GB, free: 15.98 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 3.961e-05/0.5601, allocations: 87.2 kB / 1.379 GB, free: 15.89 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5601, allocations: 0 / 1.379 GB, free: 15.89 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0001979/0.5603, allocations: 4.031 kB / 1.379 GB, free: 15.89 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (1): * Single equations (assignments): 1 * 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.0004821/0.5608, allocations: 0.7025 MB / 1.38 GB, free: 15.16 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.000194/0.561, allocations: 39.97 kB / 1.38 GB, free: 15.12 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.561, allocations: 0 / 1.38 GB, free: 15.12 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 8.756e-05/0.5611, allocations: 35.97 kB / 1.38 GB, free: 15.09 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001988/0.5613, allocations: 1.125 kB / 1.38 GB, free: 15.09 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003966/0.5617, allocations: 134.4 kB / 1.38 GB, free: 14.91 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002173/0.5619, allocations: 0.6809 MB / 1.381 GB, free: 14.21 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 2.896e-05/0.562, allocations: 4.062 kB / 1.381 GB, free: 14.2 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.292e-05/0.562, allocations: 7.438 kB / 1.381 GB, free: 14.2 MB / 0.8855 GB Notification: Performance of SimCode: time 3.61e-07/0.562, allocations: 0 / 1.381 GB, free: 14.2 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01163/0.5736, allocations: 0.9738 MB / 1.381 GB, free: 13.39 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001746/0.5739, allocations: 199.4 kB / 1.382 GB, free: 13.16 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.615/2.188, allocations: 0 / 1.382 GB, free: 13.16 MB / 0.8855 GB (rm -f Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.ChangeSign.pipe ; mkfifo Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.ChangeSign.pipe ; head -c 1048576 < Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.ChangeSign.pipe >> ../files/Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.ChangeSign.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.ChangeSign_res.mat --tempDir=temp_Buildings_latest_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_ChangeSign_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_ChangeSign.fmu > Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.ChangeSign.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.ChangeSign_res.mat does not exist to compare? outputFormat=mat