Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_Buildings_Controls_Continuous_Examples_SignalRanker",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.SignalRanker,fileNamePrefix="Buildings_10_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.001077/0.001076, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001007/0.001007, allocations: 190.8 kB / 16.25 MB, free: 6.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.215/1.215, allocations: 222.9 MB / 239.9 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.297/2.297, allocations: 437 MB / 0.7101 GB, free: 5.227 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001267/0.001267, allocations: 63.91 kB / 0.8689 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5651/0.5663, allocations: 151.6 MB / 1.017 GB, free: 2.699 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.SignalRanker): time 0.002317/0.5687, allocations: 1.616 MB / 1.018 GB, free: 1.074 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0008049/0.5695, allocations: 0.5805 MB / 1.019 GB, free: 500 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.655e-05/0.5696, allocations: 0 / 1.019 GB, free: 500 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 9.125e-05/0.5697, allocations: 11.94 kB / 1.019 GB, free: 488 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 4.871e-05/0.5697, allocations: 15.84 kB / 1.019 GB, free: 472 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003269/0.5701, allocations: 79.86 kB / 1.019 GB, free: 392 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001224/0.5702, allocations: 95.64 kB / 1.019 GB, free: 296 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 9.176e-05/0.5703, allocations: 28.2 kB / 1.019 GB, free: 264 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001008/0.5704, allocations: 39.91 kB / 1.019 GB, free: 224 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 7.163e-05/0.5705, allocations: 43.77 kB / 1.019 GB, free: 180 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.681e-05/0.5705, allocations: 8 kB / 1.019 GB, free: 172 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 9.201e-05/0.5706, allocations: 67.89 kB / 1.019 GB, free: 104 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 4.107e-05/0.5707, allocations: 19.92 kB / 1.019 GB, free: 84 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 5.365e-05/0.5707, allocations: 47.77 kB / 1.019 GB, free: 36 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001732/0.5709, allocations: 129.9 kB / 1.02 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.5709, allocations: 0 / 1.02 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of FrontEnd: time 3.266e-06/0.5709, allocations: 0 / 1.02 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.699e-06/0.5709, allocations: 3.938 kB / 1.02 GB, free: 15.91 MB / 0.7794 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.0007065/0.5716, allocations: 452.7 kB / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.421e-05/0.5717, allocations: 16.03 kB / 1.02 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.283e-05/0.5717, allocations: 34.73 kB / 1.02 GB, free: 15.35 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.823e-05/0.5718, allocations: 12.84 kB / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001625/0.5719, allocations: 198 kB / 1.02 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.234e-06/0.5719, allocations: 4.375 kB / 1.02 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.826e-05/0.572, allocations: 4.375 kB / 1.02 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002747/0.5722, allocations: 109.6 kB / 1.02 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.484e-06/0.5723, allocations: 0 / 1.02 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.244e-05/0.5723, allocations: 8 kB / 1.02 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.902e-05/0.5723, allocations: 7.984 kB / 1.02 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002944/0.5726, allocations: 83.92 kB / 1.021 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000567/0.5732, allocations: 352.5 kB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000276/0.5735, allocations: 94.45 kB / 1.021 GB, free: 14.39 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001565/0.5736, allocations: 56.88 kB / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.53e-05/0.5736, allocations: 4 kB / 1.021 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002835/0.5739, allocations: 115.3 kB / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=9): time 1.643e-06/0.5739, allocations: 0 / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of matching and sorting (n=9): time 0.0005853/0.5745, allocations: 209.4 kB / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.197e-05/0.5746, allocations: 59.41 kB / 1.021 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.847e-05/0.5747, allocations: 137.8 kB / 1.021 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.715e-05/0.5747, allocations: 25.7 kB / 1.022 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.448e-05/0.5748, allocations: 103.9 kB / 1.022 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.333e-05/0.5748, allocations: 23.66 kB / 1.022 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.073e-05/0.5749, allocations: 29.7 kB / 1.022 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.989e-05/0.575, allocations: 326.8 kB / 1.022 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000181/0.5751, allocations: 63.89 kB / 1.022 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000155/0.5753, allocations: 51.95 kB / 1.022 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003285/0.5756, allocations: 146.5 kB / 1.022 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.5757, allocations: 4 kB / 1.022 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004139/0.5761, allocations: 203.2 kB / 1.022 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 3.041e-05/0.5761, allocations: 34.11 kB / 1.022 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.5761, allocations: 4 kB / 1.022 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.152e-05/0.5761, allocations: 4 kB / 1.022 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001339/0.5763, allocations: 19.97 kB / 1.022 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.039e-06/0.5763, allocations: 0 / 1.022 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000132/0.5764, allocations: 23.83 kB / 1.023 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.884e-05/0.5765, allocations: 15.92 kB / 1.023 GB, free: 12.67 MB / 0.7794 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 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.671e-05/0.5765, allocations: 114.4 kB / 1.023 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.92e-05/0.5766, allocations: 11.91 kB / 1.023 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.957e-05/0.5766, allocations: 8.719 kB / 1.023 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.362e-05/0.5766, allocations: 7.984 kB / 1.023 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.5766, allocations: 0 / 1.023 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.5766, allocations: 0 / 1.023 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001492/0.5768, allocations: 201.5 kB / 1.023 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.5768, allocations: 0 / 1.023 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001078/0.5769, allocations: 23.97 kB / 1.023 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.978e-06/0.5769, allocations: 0 / 1.023 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.124e-05/0.5769, allocations: 3.938 kB / 1.023 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.577, allocations: 0 / 1.023 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.577, allocations: 0 / 1.023 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003986/0.5774, allocations: 192.8 kB / 1.023 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.931e-05/0.5774, allocations: 85 kB / 1.023 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.535e-05/0.5774, allocations: 7.984 kB / 1.023 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001246/0.5776, allocations: 11.98 kB / 1.023 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.156e-05/0.5776, allocations: 11.98 kB / 1.023 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.119e-05/0.5777, allocations: 7.938 kB / 1.023 GB, free: 11.9 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.242e-05/0.5777, allocations: 112.7 kB / 1.023 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.11e-07/0.5777, allocations: 0 / 1.023 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002283/0.578, allocations: 40 kB / 1.023 GB, free: 11.75 MB / 0.7794 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006998/0.5787, allocations: 0.7333 MB / 1.024 GB, free: 10.99 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004444/0.5791, allocations: 191.2 kB / 1.024 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.5791, allocations: 0 / 1.024 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.000191/0.5793, allocations: 67.88 kB / 1.024 GB, free: 10.72 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002027/0.5795, allocations: 22.03 kB / 1.024 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002092/0.5816, allocations: 1.722 MB / 1.026 GB, free: 8.895 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002197/0.5819, allocations: 0.6963 MB / 1.027 GB, free: 8.172 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 7.232e-05/0.582, allocations: 11.98 kB / 1.027 GB, free: 8.16 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.341e-05/0.582, allocations: 27.42 kB / 1.027 GB, free: 8.133 MB / 0.7794 GB Notification: Performance of SimCode: time 2.61e-07/0.582, allocations: 4 kB / 1.027 GB, free: 8.129 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02738/0.6094, allocations: 2.572 MB / 1.029 GB, free: 5.676 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001777/0.6096, allocations: 202 kB / 1.029 GB, free: 5.422 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.618/2.228, allocations: 0 / 1.029 GB, free: 5.422 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Controls.Continuous.Examples.SignalRanker.pipe ; mkfifo Buildings_10_Buildings.Controls.Continuous.Examples.SignalRanker.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.Continuous.Examples.SignalRanker.pipe >> ../files/Buildings_10_Buildings.Controls.Continuous.Examples.SignalRanker.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.Continuous.Examples.SignalRanker_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_Continuous_Examples_SignalRanker_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_Continuous_Examples_SignalRanker.fmu > Buildings_10_Buildings.Controls.Continuous.Examples.SignalRanker.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.Continuous.Examples.SignalRanker_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_Continuous_Examples_SignalRanker.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.Continuous.Examples.SignalRanker.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches