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.002101/0.002101, allocations: 108.6 kB / 16.41 MB, free: 6.016 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.002062/0.002062, allocations: 188.3 kB / 17.34 MB, free: 5.629 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.494/1.494, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.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.733/2.733, allocations: 437.1 MB / 0.7112 GB, free: 4.348 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001906/0.001906, allocations: 68.11 kB / 1.019 GB, free: 9.441 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9266/0.9285, allocations: 151.6 MB / 1.167 GB, free: 3.848 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.SignalRanker): time 0.003639/0.9322, allocations: 1.552 MB / 1.169 GB, free: 2.289 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001298/0.9335, allocations: 0.5804 MB / 1.169 GB, free: 1.703 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.118e-05/0.9336, allocations: 4 kB / 1.169 GB, free: 1.699 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0001394/0.9337, allocations: 11.86 kB / 1.169 GB, free: 1.688 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 6.102e-05/0.9338, allocations: 15.81 kB / 1.169 GB, free: 1.672 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004519/0.9343, allocations: 91.77 kB / 1.169 GB, free: 1.582 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001839/0.9345, allocations: 99.69 kB / 1.17 GB, free: 1.484 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001413/0.9346, allocations: 20.22 kB / 1.17 GB, free: 1.461 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001313/0.9348, allocations: 43.84 kB / 1.17 GB, free: 1.418 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001094/0.9349, allocations: 47.83 kB / 1.17 GB, free: 1.371 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 3.708e-05/0.9349, allocations: 7.984 kB / 1.17 GB, free: 1.363 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001655/0.9351, allocations: 87.84 kB / 1.17 GB, free: 1.277 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 6.286e-05/0.9352, allocations: 23.92 kB / 1.17 GB, free: 1.254 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 7.322e-05/0.9353, allocations: 39.73 kB / 1.17 GB, free: 1.215 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002756/0.9355, allocations: 140 kB / 1.17 GB, free: 1.082 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.9356, allocations: 0 / 1.17 GB, free: 1.082 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.274e-06/0.9356, allocations: 0 / 1.17 GB, free: 1.082 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 6.783e-06/0.9356, allocations: 0 / 1.17 GB, free: 1.082 MB / 0.8887 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.0009706/0.9366, allocations: 460.6 kB / 1.17 GB, free: 0.5781 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.329e-05/0.9366, allocations: 12.62 kB / 1.17 GB, free: 0.5664 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.324e-05/0.9367, allocations: 12.84 kB / 1.17 GB, free: 0.5547 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002314/0.9369, allocations: 188.2 kB / 1.171 GB, free: 340 kB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.501e-05/0.9369, allocations: 8.375 kB / 1.171 GB, free: 332 kB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.694e-05/0.9369, allocations: 4.375 kB / 1.171 GB, free: 328 kB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003212/0.9373, allocations: 105.9 kB / 1.171 GB, free: 216 kB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/0.9373, allocations: 0 / 1.171 GB, free: 216 kB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.758e-05/0.9373, allocations: 7.938 kB / 1.171 GB, free: 208 kB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.993e-05/0.9373, allocations: 4 kB / 1.171 GB, free: 204 kB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003276/0.9377, allocations: 87.86 kB / 1.171 GB, free: 116 kB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007544/0.9384, allocations: 356.6 kB / 1.171 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003113/0.9388, allocations: 98.44 kB / 1.171 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001772/0.9389, allocations: 52.89 kB / 1.171 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.592e-05/0.939, allocations: 4 kB / 1.171 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003333/0.9393, allocations: 119.2 kB / 1.171 GB, free: 15.42 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=9): time 1.623e-06/0.9393, allocations: 0 / 1.171 GB, free: 15.42 MB / 0.9044 GB Notification: Performance of matching and sorting (n=9): time 0.0007077/0.94, allocations: 213.4 kB / 1.172 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.809e-05/0.9401, allocations: 51.41 kB / 1.172 GB, free: 15.14 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001394/0.9402, allocations: 140.2 kB / 1.172 GB, free: 15 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.54e-05/0.9403, allocations: 29.7 kB / 1.172 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 7.547e-05/0.9404, allocations: 100.1 kB / 1.172 GB, free: 14.86 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 3.054e-05/0.9404, allocations: 31.84 kB / 1.172 GB, free: 14.83 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.049e-05/0.9405, allocations: 29.7 kB / 1.172 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001472/0.9406, allocations: 318.8 kB / 1.172 GB, free: 14.48 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001924/0.9408, allocations: 63.94 kB / 1.172 GB, free: 14.41 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001778/0.941, allocations: 59.89 kB / 1.172 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003729/0.9414, allocations: 146.5 kB / 1.173 GB, free: 14.2 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.9414, allocations: 0 / 1.173 GB, free: 14.2 MB / 0.9044 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004738/0.9419, allocations: 199.3 kB / 1.173 GB, free: 14 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 4.294e-05/0.9419, allocations: 37.69 kB / 1.173 GB, free: 13.95 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.9419, allocations: 0 / 1.173 GB, free: 13.95 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.52e-05/0.942, allocations: 0 / 1.173 GB, free: 13.95 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001457/0.9421, allocations: 19.92 kB / 1.173 GB, free: 13.93 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.376e-06/0.9421, allocations: 4 kB / 1.173 GB, free: 13.93 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001368/0.9423, allocations: 23.97 kB / 1.173 GB, free: 13.91 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.642e-05/0.9423, allocations: 4 kB / 1.173 GB, free: 13.9 MB / 0.9044 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.0001105/0.9424, allocations: 117.8 kB / 1.173 GB, free: 13.78 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.182e-05/0.9424, allocations: 11.91 kB / 1.173 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.964e-05/0.9425, allocations: 16.7 kB / 1.173 GB, free: 13.75 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.369e-05/0.9425, allocations: 4.469 kB / 1.173 GB, free: 13.75 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.9425, allocations: 0 / 1.173 GB, free: 13.75 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.9425, allocations: 0 / 1.173 GB, free: 13.75 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002136/0.9427, allocations: 209.5 kB / 1.173 GB, free: 13.49 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.9428, allocations: 4 kB / 1.173 GB, free: 13.49 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001074/0.9429, allocations: 15.92 kB / 1.173 GB, free: 13.47 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.9429, allocations: 4 kB / 1.173 GB, free: 13.47 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.369e-05/0.9429, allocations: 3.984 kB / 1.173 GB, free: 13.46 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.9429, allocations: 80 / 1.173 GB, free: 13.46 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.9429, allocations: 3.984 kB / 1.173 GB, free: 13.46 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004482/0.9434, allocations: 184.9 kB / 1.173 GB, free: 13.26 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 6.567e-05/0.9434, allocations: 89.05 kB / 1.173 GB, free: 13.16 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.394e-05/0.9435, allocations: 4 kB / 1.173 GB, free: 13.15 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001189/0.9436, allocations: 11.98 kB / 1.173 GB, free: 13.14 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.391e-05/0.9437, allocations: 15.98 kB / 1.173 GB, free: 13.12 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.119e-05/0.9437, allocations: 3.984 kB / 1.173 GB, free: 13.12 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 7.968e-05/0.9438, allocations: 109.6 kB / 1.174 GB, free: 13.02 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9438, allocations: 4 kB / 1.174 GB, free: 13.01 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002455/0.944, allocations: 39.88 kB / 1.174 GB, free: 12.97 MB / 0.9044 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.0002037/0.9442, allocations: 127.2 kB / 1.174 GB, free: 12.84 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0004952/0.9447, allocations: 191.2 kB / 1.174 GB, free: 12.64 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.9448, allocations: 0 / 1.174 GB, free: 12.64 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0002086/0.945, allocations: 71.89 kB / 1.174 GB, free: 12.57 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002137/0.9452, allocations: 11.86 kB / 1.174 GB, free: 12.56 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005695/0.9458, allocations: 223.4 kB / 1.174 GB, free: 12.31 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003546/0.9461, allocations: 0.6968 MB / 1.175 GB, free: 11.59 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 6.982e-05/0.9462, allocations: 15.98 kB / 1.175 GB, free: 11.57 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.245e-05/0.9463, allocations: 15.42 kB / 1.175 GB, free: 11.56 MB / 0.9044 GB Notification: Performance of SimCode: time 2.7e-07/0.9463, allocations: 0 / 1.175 GB, free: 11.56 MB / 0.9044 GB Notification: Performance of Templates: time 0.004506/0.9508, allocations: 1.417 MB / 1.176 GB, free: 10.14 MB / 0.9044 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 -s cvode -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/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