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: translateModel(Buildings.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sigRan.u.1.|sigRan.u.2.|sigRan.u.3.|sigRan.y.1.|sigRan.y.2.|sigRan.y.3.",fileNamePrefix="Buildings_10_Buildings.Controls.Continuous.Examples.SignalRanker") translateModel(Buildings.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sigRan.u.1.|sigRan.u.2.|sigRan.u.3.|sigRan.y.1.|sigRan.y.2.|sigRan.y.3.",fileNamePrefix="Buildings_10_Buildings.Controls.Continuous.Examples.SignalRanker") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00149/0.00149, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.00168/0.00168, allocations: 198 kB / 16.14 MB, free: 6.645 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.376/1.376, allocations: 222.9 MB / 239.8 MB, free: 4.582 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.52/2.52, allocations: 437 MB / 0.7099 GB, free: 5.359 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001305/0.001305, allocations: 71.89 kB / 0.8685 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6416/0.6429, allocations: 151.6 MB / 1.017 GB, free: 2.773 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.SignalRanker): time 0.00301/0.6459, allocations: 1.608 MB / 1.018 GB, free: 1.156 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001164/0.6471, allocations: 0.5961 MB / 1.019 GB, free: 0.5547 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.155e-05/0.6472, allocations: 0 / 1.019 GB, free: 0.5547 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0001077/0.6474, allocations: 7.938 kB / 1.019 GB, free: 0.5469 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 6.592e-05/0.6474, allocations: 19.8 kB / 1.019 GB, free: 0.5273 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003578/0.6478, allocations: 67.92 kB / 1.019 GB, free: 472 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001231/0.6479, allocations: 95.62 kB / 1.019 GB, free: 376 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001112/0.6481, allocations: 20.23 kB / 1.019 GB, free: 352 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001317/0.6482, allocations: 39.84 kB / 1.019 GB, free: 312 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 9.563e-05/0.6483, allocations: 47.75 kB / 1.019 GB, free: 264 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.271e-05/0.6483, allocations: 4 kB / 1.019 GB, free: 260 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001153/0.6484, allocations: 59.89 kB / 1.019 GB, free: 200 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 4.987e-05/0.6485, allocations: 11.98 kB / 1.019 GB, free: 188 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 6.399e-05/0.6486, allocations: 39.73 kB / 1.019 GB, free: 148 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0002183/0.6488, allocations: 133.6 kB / 1.019 GB, free: 16 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 7.364e-06/0.6488, allocations: 4 kB / 1.019 GB, free: 12 kB / 0.7637 GB Notification: Performance of FrontEnd: time 8.32e-07/0.6488, allocations: 4 kB / 1.019 GB, free: 8 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.669e-06/0.6488, allocations: 0 / 1.019 GB, free: 8 kB / 0.7637 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.0007953/0.6496, allocations: 444.8 kB / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.865e-05/0.6497, allocations: 12.03 kB / 1.02 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.637e-05/0.6497, allocations: 12.78 kB / 1.02 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001925/0.6499, allocations: 192.1 kB / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.534e-05/0.65, allocations: 8.375 kB / 1.02 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.785e-05/0.65, allocations: 8.312 kB / 1.02 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003115/0.6503, allocations: 109.9 kB / 1.02 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.764e-06/0.6503, allocations: 0 / 1.02 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.422e-05/0.6503, allocations: 0 / 1.02 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.028e-05/0.6504, allocations: 4 kB / 1.02 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003294/0.6507, allocations: 87.92 kB / 1.02 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006723/0.6514, allocations: 364.4 kB / 1.02 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002967/0.6517, allocations: 94.5 kB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000168/0.6519, allocations: 56.89 kB / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.623e-05/0.6519, allocations: 3.984 kB / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003362/0.6522, allocations: 115.2 kB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=9): time 1.523e-06/0.6522, allocations: 0 / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of matching and sorting (n=9): time 0.0006609/0.6529, allocations: 205.5 kB / 1.021 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.147e-05/0.653, allocations: 55.34 kB / 1.021 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001298/0.6531, allocations: 139.9 kB / 1.021 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.25e-05/0.6531, allocations: 33.69 kB / 1.021 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.445e-05/0.6532, allocations: 99.91 kB / 1.021 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.145e-05/0.6532, allocations: 31.7 kB / 1.021 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.922e-05/0.6533, allocations: 33.7 kB / 1.021 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001713/0.6535, allocations: 318.8 kB / 1.022 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002016/0.6537, allocations: 59.94 kB / 1.022 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001748/0.6539, allocations: 55.95 kB / 1.022 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003623/0.6543, allocations: 146.8 kB / 1.022 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.6543, allocations: 0 / 1.022 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004675/0.6547, allocations: 203.2 kB / 1.022 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 5.238e-05/0.6548, allocations: 40.28 kB / 1.022 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.214e-06/0.6548, allocations: 3.938 kB / 1.022 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.194e-05/0.6548, allocations: 0 / 1.022 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001421/0.655, allocations: 19.98 kB / 1.022 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.934e-06/0.655, allocations: 4 kB / 1.022 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001449/0.6551, allocations: 19.97 kB / 1.022 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.859e-05/0.6552, allocations: 4 kB / 1.022 GB, free: 12.84 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 0.0001165/0.6553, allocations: 118.3 kB / 1.022 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.282e-05/0.6553, allocations: 7.906 kB / 1.022 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.187e-05/0.6554, allocations: 16.7 kB / 1.022 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.412e-05/0.6554, allocations: 11.94 kB / 1.022 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.229e-06/0.6554, allocations: 0 / 1.022 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.6554, allocations: 0 / 1.022 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001989/0.6556, allocations: 209.5 kB / 1.022 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.474e-06/0.6556, allocations: 0 / 1.022 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001086/0.6557, allocations: 11.98 kB / 1.022 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.6558, allocations: 4 kB / 1.023 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.516e-05/0.6558, allocations: 3.984 kB / 1.023 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.6558, allocations: 0 / 1.023 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.6558, allocations: 0 / 1.023 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004374/0.6562, allocations: 188.7 kB / 1.023 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.267e-05/0.6563, allocations: 89.02 kB / 1.023 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.592e-05/0.6563, allocations: 0 / 1.023 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001226/0.6565, allocations: 11.98 kB / 1.023 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.263e-05/0.6565, allocations: 27.97 kB / 1.023 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.01e-05/0.6566, allocations: 0 / 1.023 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.225e-05/0.6566, allocations: 103.3 kB / 1.023 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.11e-07/0.6566, allocations: 0 / 1.023 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002447/0.6569, allocations: 43.92 kB / 1.023 GB, free: 11.91 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.0001725/0.6571, allocations: 115.2 kB / 1.023 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004805/0.6576, allocations: 195.2 kB / 1.023 GB, free: 11.58 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.6576, allocations: 0 / 1.023 GB, free: 11.58 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002059/0.6578, allocations: 67.89 kB / 1.023 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002125/0.658, allocations: 4 kB / 1.023 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000574/0.6586, allocations: 257.7 kB / 1.024 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002957/0.6589, allocations: 0.7004 MB / 1.024 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 8.146e-05/0.659, allocations: 15.98 kB / 1.024 GB, free: 10.49 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.96e-05/0.659, allocations: 7.438 kB / 1.024 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of SimCode: time 4.1e-07/0.659, allocations: 4 kB / 1.024 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of Templates: time 0.004132/0.6632, allocations: 1.275 MB / 1.026 GB, free: 9.215 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.Continuous.Examples.SignalRanker.makefile (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 & ./Buildings_10_Buildings.Controls.Continuous.Examples.SignalRanker -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.Continuous.Examples.SignalRanker.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches