Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.Continuous.Examples.SignalRanker.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.Controls.Continuous.Examples.SignalRanker,fileNamePrefix="Buildings_latest_Buildings_Controls_Continuous_Examples_SignalRanker",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.SignalRanker,fileNamePrefix="Buildings_latest_Buildings_Controls_Continuous_Examples_SignalRanker",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.221/2.221, allocations: 393.5 MB / 408.4 MB, free: 10.99 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.001081/0.001081, allocations: 180 kB / 0.4901 GB, free: 2.258 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.547/1.547, allocations: 223.1 MB / 0.7992 GB, free: 14.67 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.000934/0.0009339, allocations: 96.67 kB / 0.9396 GB, free: 1.863 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003214/0.0003215, allocations: 6.969 kB / 1.09 GB, free: 216.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2368/0.2371, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2307/0.4679, allocations: 151.6 MB / 1.377 GB, free: 1.773 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003139/0.4682, allocations: 71.95 kB / 1.377 GB, free: 1.703 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01597/0.4842, allocations: 3.556 MB / 1.381 GB, free: 14.14 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.345e-06/0.4843, allocations: 4 kB / 1.381 GB, free: 14.13 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 1.462e-05/0.4843, allocations: 0 / 1.381 GB, free: 14.13 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.001023/0.4854, allocations: 464.5 kB / 1.381 GB, free: 13.62 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 6.127e-05/0.4854, allocations: 8.562 kB / 1.381 GB, free: 13.62 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.324e-05/0.4855, allocations: 38.56 kB / 1.381 GB, free: 13.57 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.459e-05/0.4856, allocations: 11.86 kB / 1.381 GB, free: 13.56 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003438/0.486, allocations: 195.6 kB / 1.382 GB, free: 13.33 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.793e-05/0.486, allocations: 0 / 1.382 GB, free: 13.33 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.199e-05/0.486, allocations: 8 kB / 1.382 GB, free: 13.32 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004992/0.4865, allocations: 117.5 kB / 1.382 GB, free: 13.2 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/0.4866, allocations: 0 / 1.382 GB, free: 13.2 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.734e-05/0.4866, allocations: 8 kB / 1.382 GB, free: 13.19 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.211e-05/0.4866, allocations: 3.953 kB / 1.382 GB, free: 13.19 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005511/0.4872, allocations: 103.9 kB / 1.382 GB, free: 13.09 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001015/0.4882, allocations: 364.7 kB / 1.382 GB, free: 12.68 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00053/0.4888, allocations: 110.5 kB / 1.382 GB, free: 12.56 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 3.135e-05/0.4888, allocations: 3.953 kB / 1.382 GB, free: 12.56 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004342/0.4893, allocations: 119.4 kB / 1.382 GB, free: 12.43 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=9): time 2.164e-06/0.4893, allocations: 4 kB / 1.382 GB, free: 12.43 MB / 0.8855 GB Notification: Performance of matching and sorting (n=9): time 0.001166/0.4905, allocations: 318.5 kB / 1.383 GB, free: 12.09 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.087e-05/0.4905, allocations: 55.41 kB / 1.383 GB, free: 12.02 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000175/0.4907, allocations: 126.3 kB / 1.383 GB, free: 11.89 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 3.704e-05/0.4908, allocations: 33.7 kB / 1.383 GB, free: 11.86 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 9.289e-05/0.4909, allocations: 100 kB / 1.383 GB, free: 11.75 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 4.274e-05/0.4909, allocations: 27.66 kB / 1.383 GB, free: 11.73 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.03e-05/0.491, allocations: 0 / 1.383 GB, free: 11.73 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001745/0.4912, allocations: 318.8 kB / 1.383 GB, free: 11.41 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000284/0.4914, allocations: 63.95 kB / 1.383 GB, free: 11.34 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003036/0.4918, allocations: 67.95 kB / 1.383 GB, free: 11.28 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003464/0.4921, allocations: 93.59 kB / 1.384 GB, free: 11.18 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.591e-06/0.4922, allocations: 4.109 kB / 1.384 GB, free: 11.18 MB / 0.8855 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.00078/0.4929, allocations: 219.1 kB / 1.384 GB, free: 10.95 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 4.832e-05/0.493, allocations: 37.7 kB / 1.384 GB, free: 10.91 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.592e-05/0.493, allocations: 0 / 1.384 GB, free: 10.91 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.101e-05/0.4931, allocations: 3.984 kB / 1.384 GB, free: 10.9 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002385/0.4933, allocations: 19.98 kB / 1.384 GB, free: 10.88 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.4933, allocations: 0 / 1.384 GB, free: 10.88 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002306/0.4936, allocations: 23.89 kB / 1.384 GB, free: 10.86 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.762e-05/0.4937, allocations: 15.98 kB / 1.384 GB, free: 10.84 MB / 0.8855 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.0001455/0.4938, allocations: 117.8 kB / 1.384 GB, free: 10.72 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.352e-05/0.4939, allocations: 11.86 kB / 1.384 GB, free: 10.71 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007863/0.4946, allocations: 194.2 kB / 1.384 GB, free: 10.51 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.4947, allocations: 480 / 1.384 GB, free: 10.51 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.682e-05/0.4947, allocations: 3.984 kB / 1.384 GB, free: 10.5 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.4947, allocations: 0 / 1.384 GB, free: 10.5 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000255/0.495, allocations: 201.6 kB / 1.384 GB, free: 10.26 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.357e-06/0.495, allocations: 7.984 kB / 1.384 GB, free: 10.25 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001764/0.4952, allocations: 27.92 kB / 1.384 GB, free: 10.22 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.654e-06/0.4952, allocations: 3.953 kB / 1.384 GB, free: 10.22 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.899e-05/0.4952, allocations: 0 / 1.384 GB, free: 10.22 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.4952, allocations: 3.938 kB / 1.384 GB, free: 10.21 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/0.4953, allocations: 3.984 kB / 1.384 GB, free: 10.21 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007279/0.496, allocations: 204.8 kB / 1.385 GB, free: 9.992 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 7.114e-05/0.4961, allocations: 89 kB / 1.385 GB, free: 9.887 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.547e-05/0.4961, allocations: 3.953 kB / 1.385 GB, free: 9.883 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001995/0.4963, allocations: 19.98 kB / 1.385 GB, free: 9.863 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.798e-05/0.4965, allocations: 19.97 kB / 1.385 GB, free: 9.844 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.779e-05/0.4965, allocations: 0 / 1.385 GB, free: 9.844 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0001114/0.4966, allocations: 104.8 kB / 1.385 GB, free: 9.742 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.8e-07/0.4966, allocations: 0 / 1.385 GB, free: 9.742 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0004611/0.4971, allocations: 47.98 kB / 1.385 GB, free: 9.695 MB / 0.8855 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.001207/0.4983, allocations: 0.7653 MB / 1.386 GB, free: 8.902 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0007487/0.4991, allocations: 232.9 kB / 1.386 GB, free: 8.656 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.4991, allocations: 0 / 1.386 GB, free: 8.656 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0003405/0.4994, allocations: 97.66 kB / 1.386 GB, free: 8.555 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002233/0.4997, allocations: 17.02 kB / 1.386 GB, free: 8.539 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002353/0.502, allocations: 0.8215 MB / 1.387 GB, free: 7.66 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003654/0.5024, allocations: 0.709 MB / 1.387 GB, free: 6.926 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 9.993e-05/0.5025, allocations: 15.92 kB / 1.387 GB, free: 6.91 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.862e-05/0.5026, allocations: 27.42 kB / 1.387 GB, free: 6.883 MB / 0.8855 GB Notification: Performance of SimCode: time 3e-07/0.5026, allocations: 0 / 1.387 GB, free: 6.883 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01744/0.5201, allocations: 2.438 MB / 1.39 GB, free: 4.582 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002626/0.5204, allocations: 180.2 kB / 1.39 GB, free: 4.344 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.704/2.224, allocations: 4.734 kB / 1.39 GB, free: 4.344 MB / 0.8855 GB (rm -f Buildings_latest_Buildings.Controls.Continuous.Examples.SignalRanker.pipe ; mkfifo Buildings_latest_Buildings.Controls.Continuous.Examples.SignalRanker.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.Continuous.Examples.SignalRanker.pipe >> ../files/Buildings_latest_Buildings.Controls.Continuous.Examples.SignalRanker.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.Continuous.Examples.SignalRanker_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_Continuous_Examples_SignalRanker_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_Continuous_Examples_SignalRanker.fmu > Buildings_latest_Buildings.Controls.Continuous.Examples.SignalRanker.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.Continuous.Examples.SignalRanker_res.mat does not exist to compare? outputFormat=mat