Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.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.Utilities.IO.SignalExchange.Examples.FirstOrder,fileNamePrefix="Buildings_9_Buildings_Utilities_IO_SignalExchange_Examples_FirstOrder",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.366/2.366, 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.001226/0.001226, allocations: 178.1 kB / 498.1 MB, free: 5.699 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.63/1.63, allocations: 223.2 MB / 0.7948 GB, free: 18.84 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.0008897/0.0008898, allocations: 100.3 kB / 0.9346 GB, free: 7.152 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004161/0.0004162, allocations: 8.906 kB / 1.084 GB, free: 212.8 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3081/0.3086, allocations: 142.4 MB / 1.223 GB, free: 89.48 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2054/0.514, allocations: 155.1 MB / 1.374 GB, free: 14.18 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002706/0.5143, allocations: 87.94 kB / 1.374 GB, free: 14.1 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.01681/0.5312, allocations: 6.942 MB / 1.381 GB, free: 7.141 MB / 0.8855 GB Notification: Performance of FrontEnd: time 4.909e-06/0.5312, allocations: 0 / 1.381 GB, free: 7.141 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 4.411e-05/0.5313, allocations: 7.938 kB / 1.381 GB, free: 7.133 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.001074/0.5324, allocations: 0.6076 MB / 1.382 GB, free: 6.477 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.062e-05/0.5324, allocations: 8.031 kB / 1.382 GB, free: 6.469 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001147/0.5325, allocations: 66.53 kB / 1.382 GB, free: 6.395 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000101/0.5326, allocations: 43.48 kB / 1.382 GB, free: 6.352 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006103/0.5333, allocations: 374.8 kB / 1.382 GB, free: 5.945 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.658e-05/0.5333, allocations: 20.56 kB / 1.382 GB, free: 5.926 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.883e-05/0.5334, allocations: 28 kB / 1.382 GB, free: 5.898 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006091/0.534, allocations: 333.3 kB / 1.383 GB, free: 5.555 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.332e-05/0.534, allocations: 0 / 1.383 GB, free: 5.555 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.893e-05/0.534, allocations: 12 kB / 1.383 GB, free: 5.543 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.698e-06/0.5341, allocations: 7.953 kB / 1.383 GB, free: 5.535 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005346/0.5346, allocations: 250.1 kB / 1.383 GB, free: 5.289 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001615/0.5362, allocations: 1.163 MB / 1.384 GB, free: 4.07 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005709/0.5368, allocations: 246.8 kB / 1.384 GB, free: 3.82 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 3.245e-05/0.5369, allocations: 11.95 kB / 1.384 GB, free: 3.809 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.674e-05/0.5369, allocations: 38.52 kB / 1.384 GB, free: 3.762 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=16): time 1.593e-06/0.5369, allocations: 4 kB / 1.384 GB, free: 3.758 MB / 0.8855 GB Notification: Performance of matching and sorting (n=16): time 0.0007042/0.5376, allocations: 323.9 kB / 1.385 GB, free: 3.438 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.897e-05/0.5377, allocations: 77.11 kB / 1.385 GB, free: 3.344 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003344/0.538, allocations: 291.7 kB / 1.385 GB, free: 3.051 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.358e-05/0.5381, allocations: 25.7 kB / 1.385 GB, free: 3.02 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001467/0.5382, allocations: 200 kB / 1.385 GB, free: 2.82 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 5.106e-05/0.5383, allocations: 55.19 kB / 1.385 GB, free: 2.766 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.145e-05/0.5383, allocations: 4 kB / 1.385 GB, free: 2.762 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001395/0.5384, allocations: 338.8 kB / 1.386 GB, free: 2.422 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001887/0.5386, allocations: 87.97 kB / 1.386 GB, free: 2.336 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002077/0.5388, allocations: 119.3 kB / 1.386 GB, free: 2.207 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000193/0.539, allocations: 97.36 kB / 1.386 GB, free: 2.113 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.5391, allocations: 0 / 1.386 GB, free: 2.113 MB / 0.8855 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000482/0.5395, allocations: 273 kB / 1.386 GB, free: 1.84 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001411/0.5397, allocations: 268.4 kB / 1.386 GB, free: 1.559 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.5397, allocations: 4.062 kB / 1.386 GB, free: 1.555 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.732e-05/0.5397, allocations: 0 / 1.386 GB, free: 1.555 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001735/0.5399, allocations: 35.98 kB / 1.386 GB, free: 1.52 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.938e-06/0.5399, allocations: 3.953 kB / 1.386 GB, free: 1.516 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001708/0.5401, allocations: 23.83 kB / 1.386 GB, free: 1.492 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.061e-05/0.5401, allocations: 8 kB / 1.386 GB, free: 1.484 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.083e-05/0.5401, allocations: 7.938 kB / 1.387 GB, free: 1.477 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003209/0.5405, allocations: 177.2 kB / 1.387 GB, free: 1.305 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.795e-06/0.5405, allocations: 0 / 1.387 GB, free: 1.305 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.751e-06/0.5405, allocations: 4 kB / 1.387 GB, free: 1.301 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000124/0.5406, allocations: 23.98 kB / 1.387 GB, free: 1.277 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.248e-06/0.5406, allocations: 4 kB / 1.387 GB, free: 1.273 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001122/0.5408, allocations: 19.83 kB / 1.387 GB, free: 1.254 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.163e-05/0.5408, allocations: 8 kB / 1.387 GB, free: 1.246 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.0002154/0.541, allocations: 245.1 kB / 1.387 GB, free: 0.9961 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.837e-05/0.5411, allocations: 27.62 kB / 1.387 GB, free: 0.9688 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.038e-05/0.5411, allocations: 35.28 kB / 1.387 GB, free: 0.9297 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.876e-06/0.5412, allocations: 4 kB / 1.387 GB, free: 0.9258 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/0.5412, allocations: 0 / 1.387 GB, free: 0.9258 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.646e-06/0.5412, allocations: 0 / 1.387 GB, free: 0.9258 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004326/0.5416, allocations: 417.2 kB / 1.387 GB, free: 480 kB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.5416, allocations: 0 / 1.387 GB, free: 480 kB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001795/0.5418, allocations: 35.92 kB / 1.387 GB, free: 444 kB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.5418, allocations: 4 kB / 1.387 GB, free: 440 kB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.897e-05/0.5419, allocations: 4 kB / 1.387 GB, free: 436 kB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.5419, allocations: 3.938 kB / 1.387 GB, free: 432 kB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.5419, allocations: 0 / 1.387 GB, free: 432 kB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007094/0.5426, allocations: 448.1 kB / 1.388 GB, free: 15.96 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001339/0.5427, allocations: 136.7 kB / 1.388 GB, free: 15.81 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.744e-05/0.5428, allocations: 4 kB / 1.388 GB, free: 15.81 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001558/0.5429, allocations: 24.05 kB / 1.388 GB, free: 15.79 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.388e-05/0.543, allocations: 11.92 kB / 1.388 GB, free: 15.77 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.092e-05/0.543, allocations: 4 kB / 1.388 GB, free: 15.77 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0002509/0.5433, allocations: 235.1 kB / 1.388 GB, free: 15.54 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.21e-07/0.5433, allocations: 0 / 1.388 GB, free: 15.54 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0003942/0.5437, allocations: 87.69 kB / 1.388 GB, free: 15.46 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.001037/0.5447, allocations: 0.9993 MB / 1.389 GB, free: 14.43 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0005861/0.5453, allocations: 292.7 kB / 1.39 GB, free: 14.15 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.5453, allocations: 256 / 1.39 GB, free: 14.15 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0002048/0.5455, allocations: 103.9 kB / 1.39 GB, free: 14.05 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005504/0.5461, allocations: 70.23 kB / 1.39 GB, free: 13.97 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003561/0.5497, allocations: 2.098 MB / 1.392 GB, free: 11.81 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003975/0.5501, allocations: 0.7794 MB / 1.393 GB, free: 11 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0001614/0.5503, allocations: 26.28 kB / 1.393 GB, free: 10.98 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000173/0.5504, allocations: 103.4 kB / 1.393 GB, free: 10.88 MB / 0.9011 GB Notification: Performance of SimCode: time 9.01e-07/0.5505, allocations: 0 / 1.393 GB, free: 10.88 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02136/0.5718, allocations: 6.068 MB / 1.399 GB, free: 4.965 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002335/0.5721, allocations: 194.2 kB / 1.399 GB, free: 4.719 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.328/2.9, allocations: 7.438 kB / 1.399 GB, free: 4.715 MB / 0.9011 GB (rm -f Buildings_9_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe ; mkfifo Buildings_9_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe >> ../files/Buildings_9_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_IO_SignalExchange_Examples_FirstOrder_fmu --startTime=0 --stopTime=150 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Utilities_IO_SignalExchange_Examples_FirstOrder.fmu > Buildings_9_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Utilities.IO.SignalExchange.Examples.FirstOrder_res.mat does not exist to compare? outputFormat=mat