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/ModelicaServices 4.0.0+maint.om/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/Buildings 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009024/0.0009024, allocations: 91.61 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000812/0.0008121, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.269/1.269, allocations: 223.2 MB / 240 MB, free: 5.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.303/2.303, allocations: 409.4 MB / 0.684 GB, free: 0.8984 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003014/0.0003015, allocations: 12 kB / 0.8378 GB, free: 6.535 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.734/0.7343, allocations: 146.8 MB / 0.9811 GB, free: 6.301 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.SignalRanker): time 0.001871/0.7363, allocations: 1.249 MB / 0.9823 GB, free: 5.047 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001023/0.7373, allocations: 0.5381 MB / 0.9829 GB, free: 4.504 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.908e-05/0.7374, allocations: 4 kB / 0.9829 GB, free: 4.5 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 9.495e-05/0.7375, allocations: 3.938 kB / 0.9829 GB, free: 4.496 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 7.736e-05/0.7376, allocations: 15.84 kB / 0.9829 GB, free: 4.48 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004057/0.738, allocations: 71.86 kB / 0.983 GB, free: 4.41 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001454/0.7382, allocations: 79.7 kB / 0.983 GB, free: 4.332 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001238/0.7383, allocations: 24.2 kB / 0.9831 GB, free: 4.305 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001455/0.7385, allocations: 35.84 kB / 0.9831 GB, free: 4.27 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 9.335e-05/0.7386, allocations: 39.83 kB / 0.9831 GB, free: 4.23 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.335e-05/0.7386, allocations: 4 kB / 0.9831 GB, free: 4.227 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000121/0.7387, allocations: 51.89 kB / 0.9832 GB, free: 4.176 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 4.148e-05/0.7388, allocations: 15.92 kB / 0.9832 GB, free: 4.16 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 5.339e-05/0.7388, allocations: 45.64 kB / 0.9832 GB, free: 4.109 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001821/0.739, allocations: 86.08 kB / 0.9833 GB, free: 4.027 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.739, allocations: 0 / 0.9833 GB, free: 4.027 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.453e-06/0.7391, allocations: 0 / 0.9833 GB, free: 4.027 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.32e-06/0.7391, allocations: 4 kB / 0.9833 GB, free: 4.023 MB / 0.7325 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.0008082/0.7399, allocations: 452.6 kB / 0.9838 GB, free: 3.527 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.922e-05/0.7399, allocations: 8.031 kB / 0.9838 GB, free: 3.52 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.154e-05/0.74, allocations: 42.55 kB / 0.9838 GB, free: 3.469 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.072e-05/0.7401, allocations: 11.81 kB / 0.9838 GB, free: 3.457 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002118/0.7403, allocations: 188.5 kB / 0.984 GB, free: 3.234 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.143e-05/0.7403, allocations: 4 kB / 0.984 GB, free: 3.23 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.685e-05/0.7403, allocations: 7.953 kB / 0.984 GB, free: 3.223 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00031/0.7406, allocations: 117.5 kB / 0.9841 GB, free: 3.102 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/0.7407, allocations: 0 / 0.9841 GB, free: 3.102 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.644e-05/0.7407, allocations: 4 kB / 0.9841 GB, free: 3.098 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.186e-05/0.7407, allocations: 3.984 kB / 0.9841 GB, free: 3.094 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003082/0.741, allocations: 107.9 kB / 0.9842 GB, free: 2.988 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006646/0.7417, allocations: 360.6 kB / 0.9846 GB, free: 2.586 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002928/0.742, allocations: 110.5 kB / 0.9847 GB, free: 2.469 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001708/0.7422, allocations: 68.88 kB / 0.9848 GB, free: 2.398 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.021e-05/0.7422, allocations: 0 / 0.9848 GB, free: 2.398 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003222/0.7425, allocations: 127.4 kB / 0.9849 GB, free: 2.262 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=9): time 2.134e-06/0.7426, allocations: 0 / 0.9849 GB, free: 2.262 MB / 0.7325 GB Notification: Performance of matching and sorting (n=9): time 0.0006454/0.7432, allocations: 241.4 kB / 0.9851 GB, free: 2.02 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.739e-05/0.7433, allocations: 55.41 kB / 0.9852 GB, free: 1.953 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001115/0.7434, allocations: 135.1 kB / 0.9853 GB, free: 1.812 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.998e-05/0.7434, allocations: 33.64 kB / 0.9853 GB, free: 1.773 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 7.691e-05/0.7435, allocations: 104 kB / 0.9854 GB, free: 1.668 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.439e-05/0.7435, allocations: 27.55 kB / 0.9854 GB, free: 1.641 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.002e-05/0.7435, allocations: 4 kB / 0.9854 GB, free: 1.637 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001273/0.7437, allocations: 318.8 kB / 0.9857 GB, free: 1.316 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00018/0.7439, allocations: 75.89 kB / 0.9858 GB, free: 1.242 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001653/0.744, allocations: 67.94 kB / 0.9859 GB, free: 1.176 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001876/0.7442, allocations: 97.7 kB / 0.986 GB, free: 1.074 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.7442, allocations: 0 / 0.986 GB, free: 1.074 MB / 0.7325 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004483/0.7447, allocations: 215.2 kB / 0.9862 GB, free: 0.8516 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 4.621e-05/0.7448, allocations: 37.69 kB / 0.9862 GB, free: 0.8086 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.593e-06/0.7448, allocations: 4 kB / 0.9862 GB, free: 0.8047 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.121e-05/0.7448, allocations: 480 / 0.9862 GB, free: 0.8047 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001377/0.7449, allocations: 27.92 kB / 0.9863 GB, free: 0.7773 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.061e-06/0.7449, allocations: 0 / 0.9863 GB, free: 0.7773 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001272/0.7451, allocations: 23.97 kB / 0.9863 GB, free: 0.7539 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.6e-05/0.7451, allocations: 7.938 kB / 0.9863 GB, free: 0.7461 MB / 0.7325 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: 1 * Algorithm blocks: 1 * 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.0001019/0.7452, allocations: 125.7 kB / 0.9864 GB, free: 0.6133 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.828e-05/0.7452, allocations: 11.91 kB / 0.9864 GB, free: 0.6016 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.591e-05/0.7453, allocations: 16.7 kB / 0.9864 GB, free: 0.582 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.238e-05/0.7453, allocations: 4 kB / 0.9864 GB, free: 0.5781 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.888e-06/0.7453, allocations: 0 / 0.9864 GB, free: 0.5781 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.7453, allocations: 0 / 0.9864 GB, free: 0.5781 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000173/0.7455, allocations: 205.4 kB / 0.9866 GB, free: 336 kB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.7455, allocations: 0 / 0.9866 GB, free: 336 kB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001066/0.7456, allocations: 19.98 kB / 0.9866 GB, free: 316 kB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.564e-06/0.7456, allocations: 0 / 0.9866 GB, free: 316 kB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.415e-05/0.7457, allocations: 11.98 kB / 0.9867 GB, free: 304 kB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.7457, allocations: 0 / 0.9867 GB, free: 304 kB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.7457, allocations: 0 / 0.9867 GB, free: 304 kB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004223/0.7461, allocations: 204.8 kB / 0.9869 GB, free: 80 kB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 6.397e-05/0.7462, allocations: 81.02 kB / 0.9869 GB, free: 15.98 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.543e-05/0.7462, allocations: 4 kB / 0.9869 GB, free: 15.98 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001166/0.7463, allocations: 23.97 kB / 0.987 GB, free: 15.95 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.14e-05/0.7464, allocations: 15.97 kB / 0.987 GB, free: 15.94 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.081e-05/0.7464, allocations: 4 kB / 0.987 GB, free: 15.93 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 8.34e-05/0.7465, allocations: 108.6 kB / 0.9871 GB, free: 15.83 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7465, allocations: 0 / 0.9871 GB, free: 15.83 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0002423/0.7468, allocations: 36 kB / 0.9871 GB, free: 15.79 MB / 0.7481 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: 1 * Algorithm blocks: 0 * Record equations: 0 * 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.0008298/0.7476, allocations: 0.7489 MB / 0.9878 GB, free: 15.02 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0004507/0.7481, allocations: 207.2 kB / 0.988 GB, free: 14.8 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.7481, allocations: 4 kB / 0.988 GB, free: 14.8 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.000197/0.7483, allocations: 79.88 kB / 0.9881 GB, free: 14.72 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002239/0.7485, allocations: 13.39 kB / 0.9881 GB, free: 14.71 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00154/0.7501, allocations: 0.8313 MB / 0.9889 GB, free: 13.83 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002764/0.7503, allocations: 0.7005 MB / 0.9896 GB, free: 13.11 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 7.814e-05/0.7504, allocations: 11.98 kB / 0.9896 GB, free: 13.09 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.072e-05/0.7505, allocations: 27.42 kB / 0.9897 GB, free: 13.07 MB / 0.7481 GB Notification: Performance of SimCode: time 2.31e-07/0.7505, allocations: 0 / 0.9897 GB, free: 13.07 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5707/1.321, allocations: 2.404 MB / 0.992 GB, free: 10.8 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001976/1.321, allocations: 193.8 kB / 0.9922 GB, free: 10.56 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.709/3.03, allocations: 0 / 0.9922 GB, free: 10.56 MB / 0.7481 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) Environment - environmentSimulation: 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