Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.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.Utilities.IO.SignalExchange.Examples.FirstOrder,fileNamePrefix="Buildings_latest_Buildings_Utilities_IO_SignalExchange_Examples_FirstOrder",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder,fileNamePrefix="Buildings_latest_Buildings_Utilities_IO_SignalExchange_Examples_FirstOrder",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.654/2.654, allocations: 393.5 MB / 408.4 MB, free: 11.05 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.001214/0.001214, allocations: 183.3 kB / 0.4901 GB, free: 2.246 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.631/1.631, allocations: 223.1 MB / 0.7992 GB, free: 14.78 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.0008835/0.0008835, allocations: 104.2 kB / 0.9396 GB, free: 1.957 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003825/0.0003825, allocations: 11.09 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2746/0.275, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1806/0.4556, allocations: 155.9 MB / 1.382 GB, free: 13.64 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002378/0.4559, allocations: 87.94 kB / 1.382 GB, free: 13.56 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.01718/0.4731, allocations: 6.946 MB / 1.388 GB, free: 6.594 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.104e-06/0.4731, allocations: 0 / 1.388 GB, free: 6.594 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 3.768e-05/0.4732, allocations: 8 kB / 1.388 GB, free: 6.586 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.001028/0.4742, allocations: 0.6037 MB / 1.389 GB, free: 5.934 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.178e-05/0.4743, allocations: 8.562 kB / 1.389 GB, free: 5.926 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.89e-05/0.4744, allocations: 62.53 kB / 1.389 GB, free: 5.855 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.325e-05/0.4745, allocations: 51.39 kB / 1.389 GB, free: 5.805 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005948/0.4751, allocations: 374.8 kB / 1.389 GB, free: 5.398 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.024e-05/0.4751, allocations: 20.56 kB / 1.389 GB, free: 5.379 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.395e-05/0.4752, allocations: 28 kB / 1.389 GB, free: 5.352 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006233/0.4758, allocations: 333.3 kB / 1.39 GB, free: 5.008 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.4758, allocations: 0 / 1.39 GB, free: 5.008 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.967e-05/0.4759, allocations: 8 kB / 1.39 GB, free: 5 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.858e-06/0.4759, allocations: 11.95 kB / 1.39 GB, free: 4.988 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005134/0.4764, allocations: 246.1 kB / 1.39 GB, free: 4.746 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001662/0.4781, allocations: 1.167 MB / 1.391 GB, free: 3.52 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005746/0.4787, allocations: 246.8 kB / 1.391 GB, free: 3.27 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 3.117e-05/0.4787, allocations: 4 kB / 1.391 GB, free: 3.266 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.772e-05/0.4788, allocations: 38.52 kB / 1.391 GB, free: 3.219 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=16): time 1.693e-06/0.4788, allocations: 224 / 1.391 GB, free: 3.219 MB / 0.8855 GB Notification: Performance of matching and sorting (n=16): time 0.0007108/0.4795, allocations: 320.1 kB / 1.392 GB, free: 2.902 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.361e-05/0.4795, allocations: 85.05 kB / 1.392 GB, free: 2.801 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003575/0.4799, allocations: 291.7 kB / 1.392 GB, free: 2.508 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.902e-05/0.4799, allocations: 33.7 kB / 1.392 GB, free: 2.469 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001495/0.4801, allocations: 196 kB / 1.392 GB, free: 2.273 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 4.853e-05/0.4802, allocations: 47.27 kB / 1.392 GB, free: 2.227 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.09e-05/0.4802, allocations: 4 kB / 1.392 GB, free: 2.223 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001427/0.4803, allocations: 342.8 kB / 1.393 GB, free: 1.879 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001946/0.4805, allocations: 87.97 kB / 1.393 GB, free: 1.793 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001995/0.4807, allocations: 116.2 kB / 1.393 GB, free: 1.668 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000202/0.4809, allocations: 99.95 kB / 1.393 GB, free: 1.57 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.481, allocations: 0 / 1.393 GB, free: 1.57 MB / 0.8855 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004841/0.4814, allocations: 266.4 kB / 1.393 GB, free: 1.305 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001217/0.4816, allocations: 267.8 kB / 1.394 GB, free: 1.023 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.4816, allocations: 8.047 kB / 1.394 GB, free: 1.016 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.476e-05/0.4816, allocations: 7.984 kB / 1.394 GB, free: 1.008 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001841/0.4818, allocations: 31.98 kB / 1.394 GB, free: 0.9766 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.778e-06/0.4818, allocations: 7.891 kB / 1.394 GB, free: 0.9688 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001503/0.482, allocations: 27.83 kB / 1.394 GB, free: 0.9414 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.817e-05/0.482, allocations: 4 kB / 1.394 GB, free: 0.9375 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.095e-05/0.482, allocations: 7.938 kB / 1.394 GB, free: 0.9297 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003208/0.4823, allocations: 177.2 kB / 1.394 GB, free: 0.7578 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.875e-06/0.4824, allocations: 0 / 1.394 GB, free: 0.7578 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.637e-06/0.4824, allocations: 0 / 1.394 GB, free: 0.7578 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001278/0.4825, allocations: 31.98 kB / 1.394 GB, free: 0.7266 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.354e-06/0.4825, allocations: 0 / 1.394 GB, free: 0.7266 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001167/0.4826, allocations: 19.78 kB / 1.394 GB, free: 0.707 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.226e-05/0.4827, allocations: 8 kB / 1.394 GB, free: 0.6992 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: 3 (actSet.y,actAct.y,expMod.mod.conPI.I.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.0002118/0.4829, allocations: 254.1 kB / 1.394 GB, free: 452 kB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.739e-05/0.4829, allocations: 27.62 kB / 1.394 GB, free: 424 kB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.602e-05/0.483, allocations: 35.28 kB / 1.394 GB, free: 388 kB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.483, allocations: 4 kB / 1.394 GB, free: 384 kB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.483, allocations: 0 / 1.394 GB, free: 384 kB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.483, allocations: 0 / 1.394 GB, free: 384 kB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004426/0.4835, allocations: 405.3 kB / 1.395 GB, free: 15.93 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.4835, allocations: 0 / 1.395 GB, free: 15.93 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000179/0.4837, allocations: 35.92 kB / 1.395 GB, free: 15.89 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.077e-06/0.4837, allocations: 7.938 kB / 1.395 GB, free: 15.89 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.947e-05/0.4837, allocations: 7.984 kB / 1.395 GB, free: 15.88 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.4837, allocations: 0 / 1.395 GB, free: 15.88 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.596e-06/0.4837, allocations: 7.984 kB / 1.395 GB, free: 15.87 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006719/0.4844, allocations: 446.9 kB / 1.395 GB, free: 15.42 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001322/0.4846, allocations: 136.7 kB / 1.395 GB, free: 15.27 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.478e-05/0.4846, allocations: 4 kB / 1.395 GB, free: 15.26 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001524/0.4848, allocations: 20.05 kB / 1.395 GB, free: 15.24 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.407e-05/0.4848, allocations: 11.98 kB / 1.395 GB, free: 15.23 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.064e-05/0.4848, allocations: 4 kB / 1.395 GB, free: 15.23 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0002361/0.4851, allocations: 231.1 kB / 1.395 GB, free: 15 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4851, allocations: 0 / 1.395 GB, free: 15 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0003835/0.4855, allocations: 91.59 kB / 1.396 GB, free: 14.91 MB / 0.9011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (expMod.mod.conPI.I.y,expMod.mod.firOrd.y) * Number of discrete variables: 2 (actSet.y,actAct.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 16 * 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.0009773/0.4865, allocations: 0.9901 MB / 1.396 GB, free: 13.9 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0005646/0.487, allocations: 290.9 kB / 1.397 GB, free: 13.62 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 4.599e-06/0.487, allocations: 4.25 kB / 1.397 GB, free: 13.61 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0001803/0.4872, allocations: 99.91 kB / 1.397 GB, free: 13.52 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004562/0.4877, allocations: 81.22 kB / 1.397 GB, free: 13.44 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003163/0.4909, allocations: 2.094 MB / 1.399 GB, free: 11.27 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003789/0.4913, allocations: 0.7833 MB / 1.4 GB, free: 10.46 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0001496/0.4914, allocations: 30.2 kB / 1.4 GB, free: 10.43 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001556/0.4916, allocations: 99.41 kB / 1.4 GB, free: 10.34 MB / 0.9011 GB Notification: Performance of SimCode: time 3.81e-07/0.4916, allocations: 4 kB / 1.4 GB, free: 10.33 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01831/0.5099, allocations: 6.083 MB / 1.406 GB, free: 4.426 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001801/0.5101, allocations: 187.1 kB / 1.406 GB, free: 4.188 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.125/2.635, allocations: 0 / 1.406 GB, free: 4.188 MB / 0.9011 GB (rm -f Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe ; mkfifo Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe >> ../files/Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_IO_SignalExchange_Examples_FirstOrder_fmu --startTime=0 --stopTime=150 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_IO_SignalExchange_Examples_FirstOrder.fmu > Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder_res.mat does not exist to compare? outputFormat=mat