Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.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.Controls.OBC.CDL.Utilities.Validation.Assert,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Utilities_Validation_Assert",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Utilities_Validation_Assert",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.307/2.307, 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.001628/0.001628, allocations: 187.6 kB / 0.4901 GB, free: 2.207 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.65/1.65, allocations: 223.1 MB / 0.7992 GB, free: 14.67 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.0008957/0.0008957, allocations: 96.28 kB / 0.9396 GB, free: 1.871 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003833/0.0003833, allocations: 11.12 kB / 1.09 GB, free: 216.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3186/0.319, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2002/0.5193, allocations: 150.2 MB / 1.376 GB, free: 3.227 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002548/0.5196, allocations: 67.97 kB / 1.376 GB, free: 3.16 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.005775/0.5254, allocations: 1.794 MB / 1.378 GB, free: 1.363 MB / 0.8698 GB Notification: Performance of FrontEnd: time 3.156e-06/0.5255, allocations: 0 / 1.378 GB, free: 1.363 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 7.905e-06/0.5255, allocations: 0 / 1.378 GB, free: 1.363 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004942/0.526, allocations: 377 kB / 1.378 GB, free: 0.9414 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.708e-05/0.5261, allocations: 12.56 kB / 1.378 GB, free: 0.9297 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.511e-05/0.5261, allocations: 30.56 kB / 1.378 GB, free: 0.8906 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.061e-05/0.5262, allocations: 7.984 kB / 1.378 GB, free: 0.8828 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001418/0.5263, allocations: 167 kB / 1.378 GB, free: 0.6797 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.905e-05/0.5263, allocations: 8 kB / 1.378 GB, free: 0.6719 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.229e-05/0.5264, allocations: 4 kB / 1.378 GB, free: 0.668 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001145/0.5265, allocations: 41.62 kB / 1.378 GB, free: 0.6211 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.255e-06/0.5265, allocations: 0 / 1.378 GB, free: 0.6211 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.588e-06/0.5265, allocations: 0 / 1.378 GB, free: 0.6211 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.5265, allocations: 0 / 1.378 GB, free: 0.6211 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.809e-05/0.5266, allocations: 12 kB / 1.378 GB, free: 0.6094 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004686/0.527, allocations: 280.8 kB / 1.379 GB, free: 292 kB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 5.277e-05/0.5271, allocations: 26.56 kB / 1.379 GB, free: 256 kB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 9.367e-06/0.5271, allocations: 7.922 kB / 1.379 GB, free: 248 kB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001653/0.5273, allocations: 59.47 kB / 1.379 GB, free: 176 kB / 0.8698 GB Notification: Performance of pre-optimization done (n=3): time 1.693e-06/0.5273, allocations: 3.938 kB / 1.379 GB, free: 172 kB / 0.8698 GB Notification: Performance of matching and sorting (n=3): time 0.0001984/0.5275, allocations: 65.58 kB / 1.379 GB, free: 100 kB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.011e-05/0.5276, allocations: 55.36 kB / 1.379 GB, free: 32 kB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.832e-05/0.5277, allocations: 100.9 kB / 1.379 GB, free: 15.93 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.841e-05/0.5277, allocations: 33.69 kB / 1.379 GB, free: 15.89 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 6.466e-05/0.5278, allocations: 84.14 kB / 1.379 GB, free: 15.8 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 1.509e-05/0.5278, allocations: 7.906 kB / 1.379 GB, free: 15.79 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.458e-06/0.5278, allocations: 0 / 1.379 GB, free: 15.79 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001429/0.528, allocations: 314.8 kB / 1.379 GB, free: 15.48 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.243e-05/0.5281, allocations: 31.98 kB / 1.379 GB, free: 15.45 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.778e-05/0.5282, allocations: 46.55 kB / 1.379 GB, free: 15.39 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.843e-05/0.5283, allocations: 53.7 kB / 1.379 GB, free: 15.33 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.5283, allocations: 0 / 1.379 GB, free: 15.33 MB / 0.8855 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002545/0.5285, allocations: 143.3 kB / 1.38 GB, free: 15.18 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 5.779e-05/0.5286, allocations: 45.72 kB / 1.38 GB, free: 15.13 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.5286, allocations: 0 / 1.38 GB, free: 15.13 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.396e-05/0.5286, allocations: 0 / 1.38 GB, free: 15.13 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.577e-05/0.5287, allocations: 0 / 1.38 GB, free: 15.13 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.127e-06/0.5287, allocations: 4 kB / 1.38 GB, free: 15.12 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001884/0.5289, allocations: 39.92 kB / 1.38 GB, free: 15.09 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.563e-05/0.5289, allocations: 11.98 kB / 1.38 GB, free: 15.07 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 ($PRE.booPul.y,booPul.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * 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 9.665e-05/0.529, allocations: 113.8 kB / 1.38 GB, free: 14.95 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.221e-05/0.529, allocations: 7.906 kB / 1.38 GB, free: 14.95 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.838e-05/0.5291, allocations: 7.906 kB / 1.38 GB, free: 14.94 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.5291, allocations: 0 / 1.38 GB, free: 14.94 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.5291, allocations: 0 / 1.38 GB, free: 14.94 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.5291, allocations: 4 kB / 1.38 GB, free: 14.93 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001404/0.5292, allocations: 161.6 kB / 1.38 GB, free: 14.73 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.5292, allocations: 4 kB / 1.38 GB, free: 14.72 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.773e-06/0.5292, allocations: 0 / 1.38 GB, free: 14.72 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.257e-06/0.5293, allocations: 0 / 1.38 GB, free: 14.72 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.857e-06/0.5293, allocations: 4 kB / 1.38 GB, free: 14.72 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.5293, allocations: 320 / 1.38 GB, free: 14.72 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.5293, allocations: 0 / 1.38 GB, free: 14.72 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001286/0.5294, allocations: 85 kB / 1.38 GB, free: 14.62 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 5.01e-05/0.5295, allocations: 85.11 kB / 1.38 GB, free: 14.52 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.452e-05/0.5295, allocations: 3.938 kB / 1.38 GB, free: 14.51 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.492e-05/0.5295, allocations: 4 kB / 1.38 GB, free: 14.51 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.863e-05/0.5296, allocations: 0 / 1.38 GB, free: 14.51 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.155e-06/0.5296, allocations: 4 kB / 1.38 GB, free: 14.5 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 6.686e-05/0.5296, allocations: 87.27 kB / 1.38 GB, free: 14.42 MB / 0.8855 GB Notification: Performance of sort global known variables: time 2.21e-07/0.5296, allocations: 0 / 1.38 GB, free: 14.42 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002215/0.5299, allocations: 19.94 kB / 1.38 GB, free: 14.4 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: 3 ($whenCondition1,$whenCondition2,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0004817/0.5304, allocations: 0.6369 MB / 1.381 GB, free: 13.73 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0002219/0.5306, allocations: 119.3 kB / 1.381 GB, free: 13.6 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/0.5306, allocations: 4 kB / 1.381 GB, free: 13.6 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 3.02e-05/0.5306, allocations: 11.98 kB / 1.381 GB, free: 13.59 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001586/0.5308, allocations: 4 kB / 1.381 GB, free: 13.58 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006871/0.5315, allocations: 0.6481 MB / 1.382 GB, free: 12.88 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002861/0.5318, allocations: 0.6809 MB / 1.382 GB, free: 12.17 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 2.37e-05/0.5318, allocations: 4 kB / 1.382 GB, free: 12.16 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.435e-05/0.5319, allocations: 15.44 kB / 1.382 GB, free: 12.15 MB / 0.8855 GB Notification: Performance of SimCode: time 5.11e-07/0.5319, allocations: 3.938 kB / 1.382 GB, free: 12.14 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01338/0.5453, allocations: 1.683 MB / 1.384 GB, free: 10.6 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002352/0.5456, allocations: 186.2 kB / 1.384 GB, free: 10.36 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.587/2.133, allocations: 4 kB / 1.384 GB, free: 10.36 MB / 0.8855 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Utilities_Validation_Assert_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Utilities_Validation_Assert.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert_res.mat does not exist to compare? outputFormat=mat