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.001375/0.001375, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.002306/0.002306, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.346/2.346, allocations: 223.2 MB / 239.9 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 3.023/3.023, allocations: 409.2 MB / 0.6838 GB, free: 1.016 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003419/0.0003419, allocations: 8 kB / 0.8375 GB, free: 6.582 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5619/0.5623, allocations: 146.8 MB / 0.9809 GB, free: 6.309 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.SignalRanker): time 0.001411/0.5637, allocations: 1.233 MB / 0.9821 GB, free: 5.07 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0007655/0.5645, allocations: 0.5498 MB / 0.9826 GB, free: 4.512 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.208e-05/0.5646, allocations: 0 / 0.9826 GB, free: 4.512 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 7.12e-05/0.5647, allocations: 3.938 kB / 0.9826 GB, free: 4.508 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 5.899e-05/0.5647, allocations: 19.95 kB / 0.9826 GB, free: 4.488 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002731/0.565, allocations: 67.8 kB / 0.9827 GB, free: 4.422 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 8.902e-05/0.5651, allocations: 55.86 kB / 0.9827 GB, free: 4.367 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 8.946e-05/0.5652, allocations: 24.2 kB / 0.9828 GB, free: 4.34 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 9.704e-05/0.5653, allocations: 35.89 kB / 0.9828 GB, free: 4.305 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 7.977e-05/0.5654, allocations: 39.84 kB / 0.9828 GB, free: 4.266 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.326e-05/0.5654, allocations: 0 / 0.9828 GB, free: 4.266 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 8.316e-05/0.5655, allocations: 55.88 kB / 0.9829 GB, free: 4.211 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 3.338e-05/0.5655, allocations: 15.92 kB / 0.9829 GB, free: 4.195 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.379e-05/0.5656, allocations: 41.64 kB / 0.9829 GB, free: 4.148 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.000127/0.5657, allocations: 94.02 kB / 0.983 GB, free: 4.059 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 2.324e-06/0.5657, allocations: 0 / 0.983 GB, free: 4.059 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.482e-06/0.5657, allocations: 0 / 0.983 GB, free: 4.059 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.228e-06/0.5658, allocations: 0 / 0.983 GB, free: 4.059 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.0006916/0.5664, allocations: 452.7 kB / 0.9835 GB, free: 3.562 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.415e-05/0.5665, allocations: 8.031 kB / 0.9835 GB, free: 3.555 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.01e-05/0.5665, allocations: 38.55 kB / 0.9835 GB, free: 3.508 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.718e-05/0.5666, allocations: 15.81 kB / 0.9835 GB, free: 3.492 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001667/0.5668, allocations: 188.5 kB / 0.9837 GB, free: 3.27 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.498e-06/0.5668, allocations: 0 / 0.9837 GB, free: 3.27 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.627e-05/0.5668, allocations: 7.953 kB / 0.9837 GB, free: 3.262 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002891/0.5671, allocations: 117.6 kB / 0.9838 GB, free: 3.141 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.821e-06/0.5671, allocations: 0 / 0.9838 GB, free: 3.141 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.133e-05/0.5671, allocations: 0 / 0.9838 GB, free: 3.141 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.175e-05/0.5671, allocations: 7.984 kB / 0.9838 GB, free: 3.133 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003346/0.5675, allocations: 111.9 kB / 0.9839 GB, free: 3.023 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006078/0.5681, allocations: 360.6 kB / 0.9843 GB, free: 2.621 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003016/0.5684, allocations: 106.6 kB / 0.9844 GB, free: 2.508 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.134e-05/0.5684, allocations: 7.875 kB / 0.9844 GB, free: 2.5 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000325/0.5688, allocations: 119.4 kB / 0.9845 GB, free: 2.371 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=9): time 1.473e-06/0.5688, allocations: 0 / 0.9845 GB, free: 2.371 MB / 0.7325 GB Notification: Performance of matching and sorting (n=9): time 0.0006674/0.5694, allocations: 318.6 kB / 0.9848 GB, free: 2.035 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.319e-05/0.5695, allocations: 55.41 kB / 0.9849 GB, free: 1.969 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001061/0.5696, allocations: 143 kB / 0.985 GB, free: 1.82 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.904e-05/0.5696, allocations: 25.98 kB / 0.985 GB, free: 1.789 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 6.099e-05/0.5697, allocations: 100 kB / 0.9851 GB, free: 1.688 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.593e-05/0.5697, allocations: 31.55 kB / 0.9851 GB, free: 1.656 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.866e-06/0.5697, allocations: 7.938 kB / 0.9852 GB, free: 1.648 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001006/0.5698, allocations: 326.8 kB / 0.9855 GB, free: 1.32 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001833/0.57, allocations: 59.95 kB / 0.9855 GB, free: 1.262 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001771/0.5702, allocations: 71.95 kB / 0.9856 GB, free: 1.191 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001912/0.5704, allocations: 89.66 kB / 0.9857 GB, free: 1.098 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.5704, allocations: 8 kB / 0.9857 GB, free: 1.09 MB / 0.7325 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004444/0.5709, allocations: 215.1 kB / 0.9859 GB, free: 0.8672 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.849e-05/0.5709, allocations: 33.64 kB / 0.9859 GB, free: 0.8281 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.5709, allocations: 4 kB / 0.9859 GB, free: 0.8242 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.047e-06/0.571, allocations: 0 / 0.9859 GB, free: 0.8242 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001415/0.5711, allocations: 27.97 kB / 0.986 GB, free: 0.7969 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.308e-06/0.5711, allocations: 0 / 0.986 GB, free: 0.7969 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000137/0.5713, allocations: 23.98 kB / 0.986 GB, free: 0.7734 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.284e-05/0.5713, allocations: 0 / 0.986 GB, free: 0.7734 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 9.452e-05/0.5714, allocations: 129.7 kB / 0.9861 GB, free: 0.6367 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.852e-05/0.5714, allocations: 11.89 kB / 0.9861 GB, free: 0.625 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.1e-05/0.5714, allocations: 16.72 kB / 0.9861 GB, free: 0.6055 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.408e-05/0.5715, allocations: 7.984 kB / 0.9861 GB, free: 0.5977 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.5715, allocations: 0 / 0.9861 GB, free: 0.5977 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.5715, allocations: 0 / 0.9861 GB, free: 0.5977 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001539/0.5716, allocations: 201.4 kB / 0.9863 GB, free: 360 kB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.5716, allocations: 0 / 0.9863 GB, free: 360 kB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001127/0.5718, allocations: 27.97 kB / 0.9864 GB, free: 332 kB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.5718, allocations: 0 / 0.9864 GB, free: 332 kB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.019e-05/0.5718, allocations: 4 kB / 0.9864 GB, free: 328 kB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.5718, allocations: 0 / 0.9864 GB, free: 328 kB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.5718, allocations: 4 kB / 0.9864 GB, free: 324 kB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000419/0.5722, allocations: 204.8 kB / 0.9866 GB, free: 100 kB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.901e-05/0.5723, allocations: 85.19 kB / 0.9866 GB, free: 15.99 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.237e-05/0.5723, allocations: 4 kB / 0.9866 GB, free: 15.99 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00013/0.5725, allocations: 24.16 kB / 0.9867 GB, free: 15.96 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.462e-05/0.5725, allocations: 11.98 kB / 0.9867 GB, free: 15.95 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.102e-05/0.5725, allocations: 11.92 kB / 0.9867 GB, free: 15.94 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 5.683e-05/0.5726, allocations: 101 kB / 0.9868 GB, free: 15.84 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.31e-07/0.5726, allocations: 0 / 0.9868 GB, free: 15.84 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0002377/0.5729, allocations: 40 kB / 0.9868 GB, free: 15.8 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.0007143/0.5736, allocations: 0.7634 MB / 0.9876 GB, free: 15.02 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0004423/0.574, allocations: 199.2 kB / 0.9878 GB, free: 14.81 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.574, allocations: 0 / 0.9878 GB, free: 14.81 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001993/0.5742, allocations: 71.94 kB / 0.9878 GB, free: 14.74 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001519/0.5744, allocations: 16.05 kB / 0.9878 GB, free: 14.73 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001418/0.5758, allocations: 0.8309 MB / 0.9887 GB, free: 13.85 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002572/0.5761, allocations: 0.7004 MB / 0.9893 GB, free: 13.12 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 6.959e-05/0.5762, allocations: 15.98 kB / 0.9894 GB, free: 13.11 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.425e-05/0.5762, allocations: 27.42 kB / 0.9894 GB, free: 13.09 MB / 0.7481 GB Notification: Performance of SimCode: time 2.81e-07/0.5763, allocations: 0 / 0.9894 GB, free: 13.09 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8487/1.425, allocations: 2.39 MB / 0.9917 GB, free: 10.83 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003315/1.425, allocations: 193.6 kB / 0.9919 GB, free: 10.59 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.512/4.938, allocations: 4.062 kB / 0.9919 GB, free: 10.58 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