Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Line.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.Line,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Line",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Line,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Line",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.217/2.217, allocations: 390.3 MB / 405.3 MB, free: 13.38 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.001054/0.001054, allocations: 173.2 kB / 498.1 MB, free: 5.609 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.472/1.472, allocations: 223.2 MB / 0.7948 GB, free: 17.94 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.0008567/0.0008568, allocations: 99.81 kB / 0.9346 GB, free: 6.207 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0005066/0.0005066, allocations: 13.84 kB / 1.084 GB, free: 221.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2786/0.2792, allocations: 142.3 MB / 1.223 GB, free: 114.1 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1808/0.46, allocations: 149.1 MB / 1.369 GB, free: 12.81 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002355/0.4603, allocations: 71.95 kB / 1.369 GB, free: 12.74 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.00447/0.4648, allocations: 1.621 MB / 1.37 GB, free: 11.12 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.724e-06/0.4648, allocations: 0 / 1.37 GB, free: 11.12 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.628e-05/0.4648, allocations: 4 kB / 1.37 GB, free: 11.12 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.000616/0.4655, allocations: 430.9 kB / 1.371 GB, free: 10.65 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.991e-05/0.4655, allocations: 16.03 kB / 1.371 GB, free: 10.63 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.785e-05/0.4656, allocations: 46.55 kB / 1.371 GB, free: 10.58 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.846e-05/0.4656, allocations: 15.81 kB / 1.371 GB, free: 10.56 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002355/0.4659, allocations: 206.8 kB / 1.371 GB, free: 10.32 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.51e-05/0.4659, allocations: 8 kB / 1.371 GB, free: 10.31 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.393e-05/0.4659, allocations: 19.94 kB / 1.371 GB, free: 10.29 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003404/0.4663, allocations: 149.6 kB / 1.371 GB, free: 10.14 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.4663, allocations: 4 kB / 1.371 GB, free: 10.14 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.797e-05/0.4663, allocations: 4 kB / 1.371 GB, free: 10.13 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.657e-06/0.4663, allocations: 4 kB / 1.371 GB, free: 10.13 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003007/0.4666, allocations: 131.9 kB / 1.371 GB, free: 10 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000897/0.4676, allocations: 0.5273 MB / 1.372 GB, free: 9.422 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001938/0.4678, allocations: 86.53 kB / 1.372 GB, free: 9.328 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.313e-05/0.4678, allocations: 0 / 1.372 GB, free: 9.328 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.069e-05/0.4678, allocations: 42.69 kB / 1.372 GB, free: 9.277 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=10): time 1.042e-06/0.4679, allocations: 0.6562 kB / 1.372 GB, free: 9.277 MB / 0.8698 GB Notification: Performance of matching and sorting (n=10): time 0.0004709/0.4683, allocations: 173.4 kB / 1.372 GB, free: 9.102 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.527e-05/0.4684, allocations: 55.41 kB / 1.372 GB, free: 9.035 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001756/0.4686, allocations: 174.6 kB / 1.372 GB, free: 8.848 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.871e-05/0.4686, allocations: 25.7 kB / 1.372 GB, free: 8.816 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 7.886e-05/0.4687, allocations: 119.9 kB / 1.372 GB, free: 8.695 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.66e-05/0.4687, allocations: 39.47 kB / 1.372 GB, free: 8.656 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.402e-06/0.4687, allocations: 0 / 1.372 GB, free: 8.656 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.00014/0.4689, allocations: 330.8 kB / 1.373 GB, free: 8.324 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001257/0.469, allocations: 51.97 kB / 1.373 GB, free: 8.273 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001097/0.4691, allocations: 39.97 kB / 1.373 GB, free: 8.234 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001235/0.4692, allocations: 51.48 kB / 1.373 GB, free: 8.188 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.4693, allocations: 4 kB / 1.373 GB, free: 8.184 MB / 0.8698 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003123/0.4696, allocations: 161.4 kB / 1.373 GB, free: 8.02 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/0.4696, allocations: 4 kB / 1.373 GB, free: 8.016 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.4696, allocations: 0 / 1.373 GB, free: 8.016 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.4696, allocations: 0 / 1.373 GB, free: 8.016 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001683/0.4698, allocations: 31.98 kB / 1.373 GB, free: 7.984 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.611e-06/0.4698, allocations: 0 / 1.373 GB, free: 7.984 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000112/0.4699, allocations: 31.83 kB / 1.373 GB, free: 7.953 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.087e-06/0.47, allocations: 0 / 1.373 GB, free: 7.953 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 (13): * Single equations (assignments): 13 * 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.0001037/0.4701, allocations: 122.2 kB / 1.373 GB, free: 7.824 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.724e-05/0.4701, allocations: 19.8 kB / 1.373 GB, free: 7.805 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003532/0.4705, allocations: 154.9 kB / 1.373 GB, free: 7.645 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.185e-06/0.4705, allocations: 0 / 1.373 GB, free: 7.645 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.4705, allocations: 0 / 1.373 GB, free: 7.645 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.63e-06/0.4705, allocations: 3.984 kB / 1.373 GB, free: 7.641 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005916/0.4711, allocations: 468.8 kB / 1.374 GB, free: 7.117 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.4711, allocations: 0 / 1.374 GB, free: 7.117 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001112/0.4712, allocations: 23.98 kB / 1.374 GB, free: 7.094 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.505e-06/0.4712, allocations: 4.094 kB / 1.374 GB, free: 7.09 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.479e-05/0.4713, allocations: 7.984 kB / 1.374 GB, free: 7.082 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.4713, allocations: 0 / 1.374 GB, free: 7.082 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.4713, allocations: 7.891 kB / 1.374 GB, free: 7.074 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003557/0.4716, allocations: 287 kB / 1.374 GB, free: 6.75 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.585e-05/0.4717, allocations: 96.86 kB / 1.374 GB, free: 6.637 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.173e-05/0.4717, allocations: 4 kB / 1.374 GB, free: 6.633 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001406/0.4719, allocations: 19.98 kB / 1.374 GB, free: 6.613 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.203e-05/0.4719, allocations: 11.98 kB / 1.374 GB, free: 6.602 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.318e-06/0.4719, allocations: 4 kB / 1.374 GB, free: 6.598 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0001201/0.4721, allocations: 144.1 kB / 1.374 GB, free: 6.457 MB / 0.8698 GB Notification: Performance of sort global known variables: time 2.265e-06/0.4721, allocations: 0 / 1.374 GB, free: 6.457 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.000229/0.4723, allocations: 23.94 kB / 1.374 GB, free: 6.434 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (10): * Single equations (assignments): 10 * 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.0008298/0.4732, allocations: 1.031 MB / 1.375 GB, free: 5.352 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0003094/0.4735, allocations: 115.9 kB / 1.376 GB, free: 5.238 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.4735, allocations: 288 / 1.376 GB, free: 5.238 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001299/0.4736, allocations: 51.91 kB / 1.376 GB, free: 5.188 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002365/0.4739, allocations: 24.02 kB / 1.376 GB, free: 5.16 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001391/0.4753, allocations: 0.8672 MB / 1.376 GB, free: 4.242 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002836/0.4756, allocations: 0.7161 MB / 1.377 GB, free: 3.5 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 5.554e-05/0.4756, allocations: 13.08 kB / 1.377 GB, free: 3.488 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.495e-05/0.4757, allocations: 39.42 kB / 1.377 GB, free: 3.449 MB / 0.8698 GB Notification: Performance of SimCode: time 2.6e-07/0.4757, allocations: 4 kB / 1.377 GB, free: 3.445 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01344/0.4892, allocations: 2.438 MB / 1.38 GB, free: 1.141 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001539/0.4893, allocations: 185.6 kB / 1.38 GB, free: 0.8984 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.623/2.112, allocations: 0 / 1.38 GB, free: 0.8984 MB / 0.8698 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Line.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Line.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Line.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Line.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Line_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Line_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Line.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Line.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Line_res.mat does not exist to compare? outputFormat=mat