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.361/2.361, allocations: 387.4 MB / 394.9 MB, free: 13.42 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.001833/0.001833, allocations: 176.9 kB / 487.4 MB, free: 5.062 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.559/1.559, allocations: 221.4 MB / 0.7824 GB, free: 0.9922 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008623/0.0008623, allocations: 99.84 kB / 0.9219 GB, free: 2.215 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.847e-05/1.849e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3083/0.3083, allocations: 142.4 MB / 1.206 GB, free: 43.86 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9403/1.249, allocations: 150.1 MB / 1.353 GB, free: 18.19 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002806/1.249, allocations: 71.19 kB / 1.353 GB, free: 18.19 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01135/1.26, allocations: 3.522 MB / 1.356 GB, free: 33.71 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.726e-06/1.26, allocations: 0 / 1.356 GB, free: 33.71 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.063e-05/1.26, allocations: 3.938 kB / 1.356 GB, free: 33.7 MB / 0.8386 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.0006268/1.261, allocations: 442.2 kB / 1.357 GB, free: 33.3 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.42e-05/1.261, allocations: 12.33 kB / 1.357 GB, free: 33.3 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.043e-05/1.261, allocations: 11.66 kB / 1.357 GB, free: 33.29 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000219/1.261, allocations: 194.5 kB / 1.357 GB, free: 33.08 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.769e-05/1.261, allocations: 0 / 1.357 GB, free: 33.08 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.419e-05/1.262, allocations: 3.938 kB / 1.357 GB, free: 33.08 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001259/1.262, allocations: 39.2 kB / 1.357 GB, free: 33.08 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001493/1.262, allocations: 79.52 kB / 1.357 GB, free: 33.05 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/1.262, allocations: 0.75 kB / 1.357 GB, free: 33.05 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.389e-05/1.262, allocations: 4 kB / 1.357 GB, free: 33.04 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/1.262, allocations: 0 / 1.357 GB, free: 33.04 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000611/1.262, allocations: 349.9 kB / 1.357 GB, free: 32.8 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001028/1.263, allocations: 51.67 kB / 1.357 GB, free: 32.77 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.187e-05/1.263, allocations: 30.36 kB / 1.357 GB, free: 32.77 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.737e-05/1.263, allocations: 6.797 kB / 1.357 GB, free: 32.77 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001269/1.263, allocations: 89 kB / 1.357 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=9): time 1.994e-06/1.263, allocations: 0 / 1.357 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of matching and sorting (n=9): time 0.0002783/1.263, allocations: 108 kB / 1.357 GB, free: 32.67 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.623e-05/1.263, allocations: 59.25 kB / 1.358 GB, free: 32.61 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001246/1.263, allocations: 125.8 kB / 1.358 GB, free: 32.51 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.779e-05/1.263, allocations: 25.7 kB / 1.358 GB, free: 32.48 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.852e-05/1.263, allocations: 101 kB / 1.358 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.262e-05/1.263, allocations: 29.86 kB / 1.358 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.999e-06/1.263, allocations: 3.875 kB / 1.358 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001207/1.264, allocations: 317.2 kB / 1.358 GB, free: 32.06 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.085e-05/1.264, allocations: 33.02 kB / 1.358 GB, free: 32.06 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.91e-05/1.264, allocations: 40.27 kB / 1.358 GB, free: 32.05 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.006e-05/1.264, allocations: 31.91 kB / 1.358 GB, free: 32.05 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/1.264, allocations: 3.938 kB / 1.358 GB, free: 32.05 MB / 0.8386 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001954/1.264, allocations: 114.7 kB / 1.358 GB, free: 32.02 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 3.434e-05/1.264, allocations: 36.53 kB / 1.358 GB, free: 31.98 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.354e-05/1.264, allocations: 3.953 kB / 1.358 GB, free: 31.98 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/1.264, allocations: 0 / 1.358 GB, free: 31.98 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001446/1.264, allocations: 27.77 kB / 1.358 GB, free: 31.98 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.071e-06/1.264, allocations: 4 kB / 1.358 GB, free: 31.98 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001327/1.264, allocations: 21.31 kB / 1.358 GB, free: 31.97 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.675e-05/1.264, allocations: 3.844 kB / 1.358 GB, free: 31.97 MB / 0.8386 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 () * 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 7.94e-05/1.264, allocations: 108.8 kB / 1.359 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001575/1.265, allocations: 109.4 kB / 1.359 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.426e-05/1.265, allocations: 11.83 kB / 1.359 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002342/1.265, allocations: 129.4 kB / 1.359 GB, free: 31.77 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/1.265, allocations: 3.984 kB / 1.359 GB, free: 31.77 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/1.265, allocations: 1.5 kB / 1.359 GB, free: 31.77 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.197e-06/1.265, allocations: 2.531 kB / 1.359 GB, free: 31.77 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001119/1.265, allocations: 175.1 kB / 1.359 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.908e-06/1.265, allocations: 0 / 1.359 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001131/1.265, allocations: 21.69 kB / 1.359 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/1.265, allocations: 3.938 kB / 1.359 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.519e-05/1.265, allocations: 14.94 kB / 1.359 GB, free: 31.6 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.445e-06/1.265, allocations: 3.938 kB / 1.359 GB, free: 31.59 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/1.265, allocations: 0 / 1.359 GB, free: 31.59 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001736/1.265, allocations: 127.5 kB / 1.359 GB, free: 31.53 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.81e-05/1.265, allocations: 88.8 kB / 1.359 GB, free: 31.43 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.561e-05/1.265, allocations: 0.5 kB / 1.359 GB, free: 31.43 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001279/1.266, allocations: 24.97 kB / 1.359 GB, free: 31.42 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.094e-05/1.266, allocations: 16.67 kB / 1.359 GB, free: 31.42 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.359e-05/1.266, allocations: 6.797 kB / 1.359 GB, free: 31.42 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 6.717e-05/1.266, allocations: 97.72 kB / 1.359 GB, free: 31.34 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.4e-07/1.266, allocations: 0 / 1.359 GB, free: 31.34 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002423/1.266, allocations: 46.19 kB / 1.359 GB, free: 31.34 MB / 0.8386 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) * 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.0005463/1.267, allocations: 0.6935 MB / 1.36 GB, free: 30.73 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002173/1.267, allocations: 165.5 kB / 1.36 GB, free: 30.63 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/1.267, allocations: 192 / 1.36 GB, free: 30.63 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 7.9e-05/1.267, allocations: 69.56 kB / 1.36 GB, free: 30.6 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001717/1.267, allocations: 15.55 kB / 1.36 GB, free: 30.59 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004975/1.268, allocations: 189.1 kB / 1.36 GB, free: 30.46 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002932/1.268, allocations: 0.7033 MB / 1.361 GB, free: 29.76 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 6.645e-05/1.268, allocations: 13.47 kB / 1.361 GB, free: 29.76 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.371e-05/1.268, allocations: 23.89 kB / 1.361 GB, free: 29.75 MB / 0.8386 GB Notification: Performance of SimCode: time 2.6e-07/1.268, allocations: 0 / 1.361 GB, free: 29.75 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02085/1.289, allocations: 2.105 MB / 1.363 GB, free: 29.63 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001807/1.289, allocations: 141.2 kB / 1.363 GB, free: 29.44 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.663/2.953, allocations: 0 / 1.363 GB, free: 29.44 MB / 0.8386 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