Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Asin.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Asin,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Asin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Asin,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Asin",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.262/2.262, allocations: 390.3 MB / 405.3 MB, free: 13.45 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.001077/0.001077, allocations: 194.8 kB / 498.1 MB, free: 5.684 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.551/1.551, allocations: 223.2 MB / 0.7948 GB, free: 17.8 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.0009854/0.0009854, allocations: 96.31 kB / 0.9346 GB, free: 6.094 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004223/0.0004227, allocations: 13.12 kB / 1.084 GB, free: 221.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2707/0.2712, allocations: 142.3 MB / 1.223 GB, free: 114 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1838/0.4551, allocations: 148.8 MB / 1.368 GB, free: 13.06 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002629/0.4554, allocations: 63.97 kB / 1.368 GB, free: 13 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.001954/0.4574, allocations: 0.6758 MB / 1.369 GB, free: 12.32 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.903e-06/0.4574, allocations: 0 / 1.369 GB, free: 12.32 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.355e-05/0.4574, allocations: 4 kB / 1.369 GB, free: 12.32 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.000433/0.4579, allocations: 339.3 kB / 1.369 GB, free: 11.94 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.602e-05/0.4579, allocations: 12.03 kB / 1.369 GB, free: 11.93 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.815e-05/0.458, allocations: 30.56 kB / 1.369 GB, free: 11.89 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.07e-05/0.458, allocations: 3.906 kB / 1.369 GB, free: 11.88 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001552/0.4582, allocations: 175 kB / 1.37 GB, free: 11.67 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.344e-05/0.4582, allocations: 4 kB / 1.37 GB, free: 11.67 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.107e-06/0.4582, allocations: 7.938 kB / 1.37 GB, free: 11.66 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002024/0.4584, allocations: 53.67 kB / 1.37 GB, free: 11.6 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.4584, allocations: 0 / 1.37 GB, free: 11.6 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.123e-05/0.4585, allocations: 0 / 1.37 GB, free: 11.6 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.479e-06/0.4585, allocations: 0 / 1.37 GB, free: 11.6 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001791/0.4587, allocations: 43.97 kB / 1.37 GB, free: 11.56 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000452/0.4591, allocations: 272.9 kB / 1.37 GB, free: 11.24 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001362/0.4593, allocations: 46.5 kB / 1.37 GB, free: 11.19 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.316e-05/0.4593, allocations: 0 / 1.37 GB, free: 11.19 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.477e-05/0.4593, allocations: 34.56 kB / 1.37 GB, free: 11.14 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=2): time 8.42e-07/0.4593, allocations: 0 / 1.37 GB, free: 11.14 MB / 0.8698 GB Notification: Performance of matching and sorting (n=2): time 0.0003727/0.4597, allocations: 93.7 kB / 1.37 GB, free: 11.05 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.312e-05/0.4598, allocations: 59.34 kB / 1.37 GB, free: 10.98 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.813e-05/0.4599, allocations: 100.9 kB / 1.37 GB, free: 10.87 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.506e-05/0.4599, allocations: 25.7 kB / 1.37 GB, free: 10.84 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 4.941e-05/0.4599, allocations: 84.27 kB / 1.37 GB, free: 10.75 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 1.846e-05/0.46, allocations: 7.906 kB / 1.37 GB, free: 10.75 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.357e-06/0.46, allocations: 0 / 1.37 GB, free: 10.75 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001421/0.4601, allocations: 314.8 kB / 1.371 GB, free: 10.43 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.379e-05/0.4602, allocations: 15.98 kB / 1.371 GB, free: 10.41 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.273e-05/0.4603, allocations: 31.97 kB / 1.371 GB, free: 10.38 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.22e-05/0.4604, allocations: 15.98 kB / 1.371 GB, free: 10.37 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.4604, allocations: 0 / 1.371 GB, free: 10.37 MB / 0.8698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002169/0.4606, allocations: 85.62 kB / 1.371 GB, free: 10.28 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.942e-05/0.4606, allocations: 13.5 kB / 1.371 GB, free: 10.27 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.4607, allocations: 3.984 kB / 1.371 GB, free: 10.26 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.449e-05/0.4607, allocations: 0 / 1.371 GB, free: 10.26 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001016/0.4608, allocations: 15.92 kB / 1.371 GB, free: 10.25 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.051e-06/0.4608, allocations: 0 / 1.371 GB, free: 10.25 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.628e-05/0.4609, allocations: 8 kB / 1.371 GB, free: 10.24 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.364e-06/0.4609, allocations: 7.984 kB / 1.371 GB, free: 10.23 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 (2): * Single equations (assignments): 2 * 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 9.018e-05/0.461, allocations: 109.8 kB / 1.371 GB, free: 10.11 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.776e-05/0.461, allocations: 7.984 kB / 1.371 GB, free: 10.11 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002593/0.4613, allocations: 80.78 kB / 1.371 GB, free: 10.02 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.4613, allocations: 4 kB / 1.371 GB, free: 10.02 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.68e-06/0.4613, allocations: 0 / 1.371 GB, free: 10.02 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.828e-06/0.4613, allocations: 192 / 1.371 GB, free: 10.02 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001714/0.4615, allocations: 157.6 kB / 1.371 GB, free: 9.812 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.886e-06/0.4615, allocations: 3.984 kB / 1.371 GB, free: 9.809 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.113e-05/0.4616, allocations: 11.98 kB / 1.371 GB, free: 9.797 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.178e-06/0.4616, allocations: 0 / 1.371 GB, free: 9.797 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.345e-05/0.4616, allocations: 0 / 1.371 GB, free: 9.797 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.228e-06/0.4616, allocations: 15.91 kB / 1.371 GB, free: 9.781 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.4616, allocations: 0 / 1.371 GB, free: 9.781 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002643/0.4619, allocations: 171.5 kB / 1.371 GB, free: 9.598 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.699e-05/0.462, allocations: 85.05 kB / 1.371 GB, free: 9.496 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.326e-05/0.462, allocations: 0 / 1.371 GB, free: 9.496 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.637e-05/0.4621, allocations: 11.98 kB / 1.371 GB, free: 9.484 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.904e-05/0.4621, allocations: 0 / 1.371 GB, free: 9.484 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.787e-06/0.4621, allocations: 0 / 1.371 GB, free: 9.484 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 4.543e-05/0.4622, allocations: 87.27 kB / 1.372 GB, free: 9.398 MB / 0.8698 GB Notification: Performance of sort global known variables: time 2.21e-07/0.4622, allocations: 0 / 1.372 GB, free: 9.398 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002018/0.4624, allocations: 4 kB / 1.372 GB, free: 9.395 MB / 0.8698 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 (2): * Single equations (assignments): 2 * 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.0006307/0.463, allocations: 0.7122 MB / 1.372 GB, free: 8.656 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0002097/0.4633, allocations: 51.95 kB / 1.372 GB, free: 8.605 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.4633, allocations: 0 / 1.372 GB, free: 8.605 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 8.853e-05/0.4634, allocations: 24.05 kB / 1.372 GB, free: 8.582 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002138/0.4636, allocations: 8 kB / 1.372 GB, free: 8.574 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004498/0.4641, allocations: 145.7 kB / 1.372 GB, free: 8.387 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003113/0.4644, allocations: 0.677 MB / 1.373 GB, free: 7.684 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 2.99e-05/0.4644, allocations: 0 / 1.373 GB, free: 7.684 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.608e-05/0.4645, allocations: 7.438 kB / 1.373 GB, free: 7.676 MB / 0.8698 GB Notification: Performance of SimCode: time 4.3e-07/0.4645, allocations: 4.062 kB / 1.373 GB, free: 7.672 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01409/0.4786, allocations: 0.9988 MB / 1.374 GB, free: 6.793 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002436/0.4789, allocations: 183 kB / 1.374 GB, free: 6.555 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.534/2.013, allocations: 0 / 1.374 GB, free: 6.555 MB / 0.8698 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Asin.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Asin.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Asin.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Asin.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Asin_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Asin_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Asin.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Asin.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Asin_res.mat does not exist to compare? outputFormat=mat