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.001802/0.001801, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001758/0.001758, allocations: 193 kB / 16.53 MB, free: 6.391 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.54/1.54, allocations: 222.9 MB / 240.2 MB, free: 4.383 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.765/2.765, allocations: 437 MB / 0.7104 GB, free: 5.152 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001997/0.001997, allocations: 59.91 kB / 0.8692 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7317/0.7337, allocations: 151.6 MB / 1.017 GB, free: 2.656 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.SignalRanker): time 0.003232/0.737, allocations: 1.551 MB / 1.019 GB, free: 1.094 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.00112/0.7381, allocations: 0.5765 MB / 1.019 GB, free: 0.5117 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.114e-05/0.7382, allocations: 0 / 1.019 GB, free: 0.5117 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0001137/0.7383, allocations: 3.938 kB / 1.019 GB, free: 0.5078 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 5.922e-05/0.7384, allocations: 23.78 kB / 1.019 GB, free: 496 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004315/0.7389, allocations: 95.77 kB / 1.019 GB, free: 400 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001624/0.739, allocations: 99.64 kB / 1.02 GB, free: 300 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001356/0.7392, allocations: 12.23 kB / 1.02 GB, free: 284 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001218/0.7393, allocations: 51.83 kB / 1.02 GB, free: 232 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001029/0.7394, allocations: 47.77 kB / 1.02 GB, free: 184 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.871e-05/0.7395, allocations: 8 kB / 1.02 GB, free: 176 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001279/0.7396, allocations: 59.89 kB / 1.02 GB, free: 116 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 5.556e-05/0.7397, allocations: 15.98 kB / 1.02 GB, free: 100 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 8.931e-05/0.7398, allocations: 47.7 kB / 1.02 GB, free: 52 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.00025/0.74, allocations: 137.7 kB / 1.02 GB, free: 15.92 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.74, allocations: 0 / 1.02 GB, free: 15.92 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.483e-06/0.74, allocations: 0 / 1.02 GB, free: 15.92 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.991e-06/0.7401, allocations: 0 / 1.02 GB, free: 15.92 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.0009817/0.741, allocations: 456.7 kB / 1.02 GB, free: 15.42 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.198e-05/0.7411, allocations: 8.031 kB / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.38e-05/0.7412, allocations: 8.844 kB / 1.02 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002545/0.7414, allocations: 200.1 kB / 1.021 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.187e-05/0.7414, allocations: 8.312 kB / 1.021 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.338e-05/0.7415, allocations: 4.375 kB / 1.021 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003498/0.7418, allocations: 109.9 kB / 1.021 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.7418, allocations: 3.938 kB / 1.021 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.625e-05/0.7419, allocations: 4 kB / 1.021 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.577e-05/0.7419, allocations: 7.984 kB / 1.021 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003355/0.7422, allocations: 83.91 kB / 1.021 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007526/0.743, allocations: 360.5 kB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003221/0.7433, allocations: 94.5 kB / 1.021 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001932/0.7435, allocations: 60.88 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.443e-05/0.7436, allocations: 0 / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003436/0.7439, allocations: 115.3 kB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=9): time 1.713e-06/0.7439, allocations: 0 / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of matching and sorting (n=9): time 0.000703/0.7446, allocations: 205.5 kB / 1.022 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.445e-05/0.7447, allocations: 59.34 kB / 1.022 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001378/0.7448, allocations: 143.4 kB / 1.022 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.547e-05/0.7449, allocations: 25.7 kB / 1.022 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 9.76e-05/0.745, allocations: 99.91 kB / 1.022 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.657e-05/0.745, allocations: 27.64 kB / 1.022 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.152e-05/0.7451, allocations: 25.7 kB / 1.022 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001608/0.7453, allocations: 334.8 kB / 1.022 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002073/0.7455, allocations: 51.95 kB / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001774/0.7457, allocations: 55.95 kB / 1.022 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003704/0.746, allocations: 150.5 kB / 1.023 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.023e-06/0.746, allocations: 0 / 1.023 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004786/0.7465, allocations: 203.2 kB / 1.023 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 4.939e-05/0.7466, allocations: 29.7 kB / 1.023 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.817e-06/0.7466, allocations: 4 kB / 1.023 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.952e-05/0.7466, allocations: 0 / 1.023 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001491/0.7468, allocations: 20.44 kB / 1.023 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.033e-06/0.7468, allocations: 4 kB / 1.023 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001423/0.7469, allocations: 15.89 kB / 1.023 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.909e-05/0.747, allocations: 8 kB / 1.023 GB, free: 12.74 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.0001349/0.7471, allocations: 129.7 kB / 1.023 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.165e-05/0.7471, allocations: 11.84 kB / 1.023 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.716e-05/0.7472, allocations: 8.719 kB / 1.023 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.445e-05/0.7472, allocations: 4 kB / 1.023 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.7472, allocations: 0 / 1.023 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.7472, allocations: 4 kB / 1.023 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002405/0.7475, allocations: 205.5 kB / 1.023 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.7475, allocations: 0 / 1.023 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000117/0.7476, allocations: 19.97 kB / 1.023 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.7476, allocations: 0 / 1.023 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.248e-05/0.7476, allocations: 0 / 1.023 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.7476, allocations: 0 / 1.023 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.7476, allocations: 4 kB / 1.023 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004756/0.7481, allocations: 188.7 kB / 1.023 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.351e-05/0.7482, allocations: 81.02 kB / 1.023 GB, free: 12 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.142e-05/0.7482, allocations: 11.98 kB / 1.023 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001287/0.7484, allocations: 15.97 kB / 1.023 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.206e-05/0.7484, allocations: 11.98 kB / 1.023 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.386e-05/0.7485, allocations: 8 kB / 1.023 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001041/0.7486, allocations: 112.6 kB / 1.024 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7486, allocations: 0 / 1.024 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002612/0.7488, allocations: 35.94 kB / 1.024 GB, free: 11.81 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.0002074/0.7491, allocations: 111.2 kB / 1.024 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0005733/0.7496, allocations: 191.2 kB / 1.024 GB, free: 11.49 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 4.939e-06/0.7497, allocations: 4 kB / 1.024 GB, free: 11.49 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002117/0.7499, allocations: 67.89 kB / 1.024 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002228/0.7501, allocations: 17.48 kB / 1.024 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005988/0.7507, allocations: 224 kB / 1.024 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003552/0.7511, allocations: 0.7001 MB / 1.025 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 7.708e-05/0.7512, allocations: 19.97 kB / 1.025 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.958e-05/0.7512, allocations: 11.44 kB / 1.025 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of SimCode: time 3e-07/0.7512, allocations: 0 / 1.025 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of Templates: time 0.004665/0.7559, allocations: 1.401 MB / 1.026 GB, free: 9.016 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=400 -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