Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.Continuous.Examples.SignalRanker.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.Continuous.Examples.SignalRanker,fileNamePrefix="Buildings_9_Buildings_Controls_Continuous_Examples_SignalRanker",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.SignalRanker,fileNamePrefix="Buildings_9_Buildings_Controls_Continuous_Examples_SignalRanker",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.525/2.525, allocations: 390.3 MB / 405.3 MB, free: 13.53 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.00132/0.00132, allocations: 180 kB / 498.1 MB, free: 5.73 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.617/1.617, 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.0009035/0.0009034, allocations: 100.2 kB / 0.9346 GB, free: 6.266 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003845/0.0003845, allocations: 6.875 kB / 1.084 GB, free: 221.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2864/0.2868, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1914/0.4782, allocations: 150.8 MB / 1.37 GB, free: 11.22 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002558/0.4785, allocations: 75.95 kB / 1.37 GB, free: 11.15 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01076/0.4893, allocations: 3.538 MB / 1.374 GB, free: 7.602 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.986e-06/0.4893, allocations: 0 / 1.374 GB, free: 7.602 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.465e-05/0.4893, allocations: 4 kB / 1.374 GB, free: 7.598 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0007684/0.4901, allocations: 466.2 kB / 1.374 GB, free: 7.09 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.585e-05/0.4902, allocations: 8.031 kB / 1.374 GB, free: 7.082 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.686e-05/0.4902, allocations: 42.55 kB / 1.374 GB, free: 7.031 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.506e-05/0.4903, allocations: 11.86 kB / 1.374 GB, free: 7.02 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002649/0.4906, allocations: 198.8 kB / 1.374 GB, free: 6.785 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.181e-05/0.4906, allocations: 4 kB / 1.374 GB, free: 6.781 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.223e-05/0.4906, allocations: 4 kB / 1.374 GB, free: 6.777 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003421/0.491, allocations: 125.5 kB / 1.375 GB, free: 6.648 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.786e-06/0.491, allocations: 0 / 1.375 GB, free: 6.648 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.698e-05/0.491, allocations: 3.984 kB / 1.375 GB, free: 6.645 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.486e-06/0.491, allocations: 7.953 kB / 1.375 GB, free: 6.637 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003583/0.4914, allocations: 107.9 kB / 1.375 GB, free: 6.531 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007046/0.4921, allocations: 364.7 kB / 1.375 GB, free: 6.125 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003339/0.4924, allocations: 106.5 kB / 1.375 GB, free: 6.012 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.355e-05/0.4925, allocations: 8.016 kB / 1.375 GB, free: 6.004 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002878/0.4928, allocations: 127.3 kB / 1.375 GB, free: 5.867 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=9): time 2.414e-06/0.4928, allocations: 0 / 1.375 GB, free: 5.867 MB / 0.8698 GB Notification: Performance of matching and sorting (n=9): time 0.0007447/0.4935, allocations: 310.5 kB / 1.376 GB, free: 5.539 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.724e-05/0.4936, allocations: 55.41 kB / 1.376 GB, free: 5.473 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000126/0.4937, allocations: 125.8 kB / 1.376 GB, free: 5.344 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.554e-05/0.4938, allocations: 33.69 kB / 1.376 GB, free: 5.305 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 6.779e-05/0.4938, allocations: 99.98 kB / 1.376 GB, free: 5.203 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.909e-05/0.4939, allocations: 23.7 kB / 1.376 GB, free: 5.18 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.129e-05/0.4939, allocations: 8 kB / 1.376 GB, free: 5.172 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001409/0.494, allocations: 318.8 kB / 1.376 GB, free: 4.852 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002007/0.4942, allocations: 68.06 kB / 1.376 GB, free: 4.785 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001799/0.4944, allocations: 63.89 kB / 1.376 GB, free: 4.723 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002162/0.4947, allocations: 93.66 kB / 1.376 GB, free: 4.625 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.155e-06/0.4947, allocations: 0 / 1.376 GB, free: 4.625 MB / 0.8698 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004975/0.4952, allocations: 227 kB / 1.377 GB, free: 4.391 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 3.57e-05/0.4952, allocations: 29.7 kB / 1.377 GB, free: 4.355 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.377e-05/0.4952, allocations: 4 kB / 1.377 GB, free: 4.352 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.4953, allocations: 480 / 1.377 GB, free: 4.352 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001483/0.4954, allocations: 23.97 kB / 1.377 GB, free: 4.328 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.4954, allocations: 0 / 1.377 GB, free: 4.328 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001528/0.4956, allocations: 31.92 kB / 1.377 GB, free: 4.297 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.057e-05/0.4956, allocations: 4 kB / 1.377 GB, free: 4.293 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: 5 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 1 * 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.0001084/0.4957, allocations: 121.8 kB / 1.377 GB, free: 4.164 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.106e-05/0.4958, allocations: 11.86 kB / 1.377 GB, free: 4.152 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005257/0.4963, allocations: 194.2 kB / 1.377 GB, free: 3.953 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.14e-06/0.4963, allocations: 0 / 1.377 GB, free: 3.953 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.4963, allocations: 3.938 kB / 1.377 GB, free: 3.949 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.377e-06/0.4963, allocations: 0 / 1.377 GB, free: 3.949 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001858/0.4965, allocations: 201.5 kB / 1.377 GB, free: 3.703 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.482e-06/0.4965, allocations: 8 kB / 1.377 GB, free: 3.695 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001176/0.4967, allocations: 15.98 kB / 1.377 GB, free: 3.68 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.115e-05/0.4967, allocations: 11.94 kB / 1.377 GB, free: 3.668 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.322e-05/0.4967, allocations: 3.938 kB / 1.377 GB, free: 3.664 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.4967, allocations: 0 / 1.377 GB, free: 3.664 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.4967, allocations: 0 / 1.377 GB, free: 3.664 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005065/0.4972, allocations: 196.9 kB / 1.377 GB, free: 3.453 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.542e-05/0.4973, allocations: 85.02 kB / 1.378 GB, free: 3.352 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.455e-05/0.4973, allocations: 7.953 kB / 1.378 GB, free: 3.344 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001364/0.4975, allocations: 19.98 kB / 1.378 GB, free: 3.324 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.121e-05/0.4975, allocations: 11.97 kB / 1.378 GB, free: 3.312 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.474e-05/0.4976, allocations: 7.938 kB / 1.378 GB, free: 3.305 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 8.645e-05/0.4977, allocations: 113.5 kB / 1.378 GB, free: 3.195 MB / 0.8698 GB Notification: Performance of sort global known variables: time 2.51e-07/0.4977, allocations: 0 / 1.378 GB, free: 3.195 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002692/0.4979, allocations: 39.94 kB / 1.378 GB, free: 3.156 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: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 2 * 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.0008606/0.4988, allocations: 0.7807 MB / 1.378 GB, free: 2.348 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0005135/0.4993, allocations: 225.3 kB / 1.379 GB, free: 2.109 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.4993, allocations: 0 / 1.379 GB, free: 2.109 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002389/0.4996, allocations: 109.6 kB / 1.379 GB, free: 1.996 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001645/0.4998, allocations: 8 kB / 1.379 GB, free: 1.988 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001608/0.5014, allocations: 0.8139 MB / 1.38 GB, free: 1.117 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002947/0.5017, allocations: 0.7004 MB / 1.38 GB, free: 400 kB / 0.8698 GB Notification: Performance of simCode: alias equations: time 7.461e-05/0.5018, allocations: 19.97 kB / 1.38 GB, free: 380 kB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.993e-05/0.5018, allocations: 27.42 kB / 1.38 GB, free: 352 kB / 0.8698 GB Notification: Performance of SimCode: time 4.929e-06/0.5019, allocations: 0 / 1.38 GB, free: 352 kB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01423/0.5161, allocations: 2.425 MB / 1.383 GB, free: 14.04 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002449/0.5164, allocations: 179.4 kB / 1.383 GB, free: 13.8 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.662/2.178, allocations: 3.938 kB / 1.383 GB, free: 13.8 MB / 0.8855 GB (rm -f Buildings_9_Buildings.Controls.Continuous.Examples.SignalRanker.pipe ; mkfifo Buildings_9_Buildings.Controls.Continuous.Examples.SignalRanker.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.Continuous.Examples.SignalRanker.pipe >> ../files/Buildings_9_Buildings.Controls.Continuous.Examples.SignalRanker.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.Continuous.Examples.SignalRanker_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_Continuous_Examples_SignalRanker_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_Continuous_Examples_SignalRanker.fmu > Buildings_9_Buildings.Controls.Continuous.Examples.SignalRanker.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.Continuous.Examples.SignalRanker_res.mat does not exist to compare? outputFormat=mat