Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan.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.Tan,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Tan",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Tan,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Tan",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.399/2.399, allocations: 390.3 MB / 405.3 MB, free: 13.5 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.001194/0.001194, allocations: 189 kB / 498.1 MB, free: 5.77 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.544/1.544, allocations: 223.2 MB / 0.7948 GB, free: 17.96 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.00085/0.00085, allocations: 100.3 kB / 0.9346 GB, free: 6.266 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004423/0.0004423, allocations: 10.22 kB / 1.084 GB, free: 221.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2726/0.2731, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1799/0.4531, allocations: 148.8 MB / 1.368 GB, free: 13.16 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002592/0.4534, allocations: 75.95 kB / 1.368 GB, free: 13.08 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.001968/0.4554, allocations: 0.668 MB / 1.369 GB, free: 12.41 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.284e-06/0.4554, allocations: 0 / 1.369 GB, free: 12.41 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 7.815e-06/0.4554, allocations: 0 / 1.369 GB, free: 12.41 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.0004568/0.4559, allocations: 347.2 kB / 1.369 GB, free: 12.03 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.949e-05/0.4559, allocations: 8.031 kB / 1.369 GB, free: 12.02 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.715e-05/0.456, allocations: 30.56 kB / 1.369 GB, free: 11.98 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.914e-05/0.456, allocations: 7.984 kB / 1.369 GB, free: 11.97 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001512/0.4562, allocations: 167 kB / 1.37 GB, free: 11.77 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.32e-05/0.4562, allocations: 0 / 1.37 GB, free: 11.77 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.057e-05/0.4562, allocations: 4 kB / 1.37 GB, free: 11.77 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002565/0.4565, allocations: 57.67 kB / 1.37 GB, free: 11.7 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.4565, allocations: 0 / 1.37 GB, free: 11.7 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.816e-06/0.4565, allocations: 3.938 kB / 1.37 GB, free: 11.7 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.843e-06/0.4565, allocations: 4 kB / 1.37 GB, free: 11.7 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000183/0.4567, allocations: 47.91 kB / 1.37 GB, free: 11.65 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004041/0.4571, allocations: 252.9 kB / 1.37 GB, free: 11.35 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001358/0.4573, allocations: 38.56 kB / 1.37 GB, free: 11.3 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.618e-05/0.4573, allocations: 4 kB / 1.37 GB, free: 11.3 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.488e-05/0.4574, allocations: 34.62 kB / 1.37 GB, free: 11.26 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=2): time 1.764e-06/0.4574, allocations: 0 / 1.37 GB, free: 11.26 MB / 0.8698 GB Notification: Performance of matching and sorting (n=2): time 0.0003955/0.4578, allocations: 105.5 kB / 1.37 GB, free: 11.15 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.978e-05/0.4578, allocations: 51.41 kB / 1.37 GB, free: 11.09 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.402e-05/0.4579, allocations: 96.94 kB / 1.37 GB, free: 10.98 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.492e-05/0.4579, allocations: 25.7 kB / 1.37 GB, free: 10.95 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 5.983e-05/0.458, allocations: 88.14 kB / 1.37 GB, free: 10.86 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 1.795e-05/0.458, allocations: 3.906 kB / 1.37 GB, free: 10.86 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.737e-06/0.458, allocations: 0 / 1.37 GB, free: 10.86 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001218/0.4582, allocations: 315 kB / 1.371 GB, free: 10.54 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.851e-05/0.4583, allocations: 27.97 kB / 1.371 GB, free: 10.52 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.164e-05/0.4583, allocations: 15.98 kB / 1.371 GB, free: 10.5 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.737e-05/0.4584, allocations: 28.05 kB / 1.371 GB, free: 10.47 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.235e-06/0.4584, allocations: 3.938 kB / 1.371 GB, free: 10.47 MB / 0.8698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000214/0.4587, allocations: 77.59 kB / 1.371 GB, free: 10.39 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/0.4587, allocations: 8.031 kB / 1.371 GB, free: 10.38 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.461e-06/0.4587, allocations: 0 / 1.371 GB, free: 10.38 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.526e-05/0.4587, allocations: 0 / 1.371 GB, free: 10.38 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001016/0.4588, allocations: 15.98 kB / 1.371 GB, free: 10.36 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.4588, allocations: 0 / 1.371 GB, free: 10.36 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.351e-05/0.4589, allocations: 4 kB / 1.371 GB, free: 10.36 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.814e-06/0.4589, allocations: 4.141 kB / 1.371 GB, free: 10.36 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 8.67e-05/0.459, allocations: 125.8 kB / 1.371 GB, free: 10.22 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.448e-05/0.459, allocations: 0 / 1.371 GB, free: 10.22 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002539/0.4593, allocations: 84.7 kB / 1.371 GB, free: 10.13 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/0.4593, allocations: 0 / 1.371 GB, free: 10.13 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/0.4593, allocations: 0 / 1.371 GB, free: 10.13 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.4593, allocations: 4.031 kB / 1.371 GB, free: 10.13 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001727/0.4595, allocations: 157.6 kB / 1.371 GB, free: 9.926 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.4595, allocations: 4 kB / 1.371 GB, free: 9.922 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.249e-05/0.4596, allocations: 11.98 kB / 1.371 GB, free: 9.91 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.965e-06/0.4596, allocations: 0 / 1.371 GB, free: 9.91 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.165e-06/0.4596, allocations: 0 / 1.371 GB, free: 9.91 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.4596, allocations: 0 / 1.371 GB, free: 9.91 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.4596, allocations: 0 / 1.371 GB, free: 9.91 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002751/0.4599, allocations: 175.5 kB / 1.371 GB, free: 9.723 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.519e-05/0.46, allocations: 88.95 kB / 1.371 GB, free: 9.617 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.442e-05/0.46, allocations: 7.922 kB / 1.371 GB, free: 9.609 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.819e-05/0.4601, allocations: 8.031 kB / 1.371 GB, free: 9.602 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.337e-05/0.4601, allocations: 7.984 kB / 1.371 GB, free: 9.594 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.286e-06/0.4601, allocations: 0 / 1.371 GB, free: 9.594 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 5.826e-05/0.4602, allocations: 83.28 kB / 1.372 GB, free: 9.512 MB / 0.8698 GB Notification: Performance of sort global known variables: time 2.2e-07/0.4602, allocations: 0 / 1.372 GB, free: 9.512 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002544/0.4605, allocations: 4 kB / 1.372 GB, free: 9.508 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.0006645/0.4611, allocations: 0.7046 MB / 1.372 GB, free: 8.777 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.000231/0.4614, allocations: 51.92 kB / 1.372 GB, free: 8.727 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/0.4614, allocations: 4 kB / 1.372 GB, free: 8.723 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 8.886e-05/0.4615, allocations: 23.98 kB / 1.372 GB, free: 8.699 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000227/0.4617, allocations: 128 / 1.372 GB, free: 8.699 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004622/0.4622, allocations: 142.3 kB / 1.372 GB, free: 8.512 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003089/0.4625, allocations: 0.677 MB / 1.373 GB, free: 7.809 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 2.523e-05/0.4626, allocations: 4 kB / 1.373 GB, free: 7.805 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.872e-05/0.4626, allocations: 7.438 kB / 1.373 GB, free: 7.797 MB / 0.8698 GB Notification: Performance of SimCode: time 4.81e-07/0.4626, allocations: 0 / 1.373 GB, free: 7.797 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01292/0.4755, allocations: 0.9873 MB / 1.374 GB, free: 6.934 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001977/0.4758, allocations: 182.7 kB / 1.374 GB, free: 6.691 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.511/1.987, allocations: 4 kB / 1.374 GB, free: 6.688 MB / 0.8698 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Tan_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Tan.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Tan_res.mat does not exist to compare? outputFormat=mat