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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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: 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_latest_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_latest_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.001276/0.001276, allocations: 91.53 kB / 15.36 MB, free: 0.7383 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.01031/0.01031, allocations: 173.1 kB / 16.26 MB, free: 6.613 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.406/1.406, allocations: 223.3 MB / 240.3 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.733/2.733, allocations: 462.6 MB / 0.7364 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003733/0.0003733, allocations: 8.562 kB / 0.9027 GB, free: 36.47 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3288/0.3292, allocations: 159.6 MB / 1.059 GB, free: 5.035 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.SignalRanker): time 0.001793/0.331, allocations: 1.28 MB / 1.06 GB, free: 3.746 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.00097/0.332, allocations: 0.5882 MB / 1.06 GB, free: 3.152 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.529e-05/0.3321, allocations: 0 / 1.06 GB, free: 3.152 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 9.779e-05/0.3322, allocations: 3.938 kB / 1.06 GB, free: 3.148 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.047e-05/0.3323, allocations: 19.86 kB / 1.06 GB, free: 3.129 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003439/0.3326, allocations: 71.86 kB / 1.061 GB, free: 3.059 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001284/0.3327, allocations: 91.64 kB / 1.061 GB, free: 2.969 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001095/0.3329, allocations: 16.17 kB / 1.061 GB, free: 2.949 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001165/0.333, allocations: 39.89 kB / 1.061 GB, free: 2.91 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 9.867e-05/0.3331, allocations: 51.7 kB / 1.061 GB, free: 2.859 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.016e-05/0.3331, allocations: 4 kB / 1.061 GB, free: 2.855 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000112/0.3333, allocations: 55.95 kB / 1.061 GB, free: 2.801 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 5.622e-05/0.3333, allocations: 19.91 kB / 1.061 GB, free: 2.781 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 6.499e-05/0.3334, allocations: 57.5 kB / 1.061 GB, free: 2.719 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002035/0.3336, allocations: 135.8 kB / 1.061 GB, free: 2.586 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.3336, allocations: 0 / 1.061 GB, free: 2.586 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.312e-06/0.3336, allocations: 0 / 1.061 GB, free: 2.586 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.699e-06/0.3336, allocations: 0 / 1.061 GB, free: 2.586 MB / 0.8106 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.0007918/0.3344, allocations: 448.9 kB / 1.061 GB, free: 2.094 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.749e-05/0.3345, allocations: 11.97 kB / 1.061 GB, free: 2.082 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.809e-05/0.3345, allocations: 12.75 kB / 1.061 GB, free: 2.07 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001765/0.3347, allocations: 192.2 kB / 1.062 GB, free: 1.844 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.49e-05/0.3347, allocations: 8.375 kB / 1.062 GB, free: 1.836 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.856e-05/0.3347, allocations: 4.375 kB / 1.062 GB, free: 1.832 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003217/0.3351, allocations: 121.9 kB / 1.062 GB, free: 1.707 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.544e-06/0.3351, allocations: 0 / 1.062 GB, free: 1.707 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.711e-05/0.3351, allocations: 7.984 kB / 1.062 GB, free: 1.699 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.12e-05/0.3351, allocations: 4 kB / 1.062 GB, free: 1.695 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003447/0.3355, allocations: 107.9 kB / 1.062 GB, free: 1.59 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006889/0.3362, allocations: 360.6 kB / 1.062 GB, free: 1.188 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003131/0.3365, allocations: 106.5 kB / 1.062 GB, free: 1.074 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001866/0.3367, allocations: 72.88 kB / 1.062 GB, free: 1 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.432e-05/0.3367, allocations: 0 / 1.062 GB, free: 1 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003357/0.3371, allocations: 127.4 kB / 1.062 GB, free: 0.8633 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=9): time 1.563e-06/0.3371, allocations: 0 / 1.062 GB, free: 0.8633 MB / 0.8106 GB Notification: Performance of matching and sorting (n=9): time 0.0006846/0.3378, allocations: 237.7 kB / 1.063 GB, free: 0.625 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.311e-05/0.3378, allocations: 55.41 kB / 1.063 GB, free: 0.5586 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001224/0.338, allocations: 140.5 kB / 1.063 GB, free: 424 kB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.467e-05/0.338, allocations: 25.7 kB / 1.063 GB, free: 392 kB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 8.428e-05/0.3381, allocations: 108 kB / 1.063 GB, free: 280 kB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.975e-05/0.3381, allocations: 31.55 kB / 1.063 GB, free: 248 kB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.228e-05/0.3382, allocations: 13.72 kB / 1.063 GB, free: 228 kB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001391/0.3383, allocations: 326.8 kB / 1.063 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002027/0.3385, allocations: 67.89 kB / 1.063 GB, free: 15.83 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001891/0.3387, allocations: 71.95 kB / 1.063 GB, free: 15.76 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003811/0.3391, allocations: 158.5 kB / 1.064 GB, free: 15.59 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.3391, allocations: 0 / 1.064 GB, free: 15.59 MB / 0.8262 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004918/0.3396, allocations: 227.3 kB / 1.064 GB, free: 15.36 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 4.964e-05/0.3397, allocations: 37.64 kB / 1.064 GB, free: 15.32 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.3397, allocations: 0 / 1.064 GB, free: 15.32 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.434e-05/0.3397, allocations: 0 / 1.064 GB, free: 15.32 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001523/0.3399, allocations: 27.97 kB / 1.064 GB, free: 15.29 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.3399, allocations: 0 / 1.064 GB, free: 15.29 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001517/0.34, allocations: 23.92 kB / 1.064 GB, free: 15.27 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.549e-05/0.3401, allocations: 0 / 1.064 GB, free: 15.27 MB / 0.8262 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.000114/0.3402, allocations: 133.7 kB / 1.064 GB, free: 15.12 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.072e-05/0.3402, allocations: 11.91 kB / 1.064 GB, free: 15.11 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.503e-05/0.3403, allocations: 12.72 kB / 1.064 GB, free: 15.1 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.302e-05/0.3403, allocations: 8 kB / 1.064 GB, free: 15.09 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.693e-06/0.3403, allocations: 3.984 kB / 1.064 GB, free: 15.09 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.3403, allocations: 0 / 1.064 GB, free: 15.09 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001831/0.3405, allocations: 193.5 kB / 1.064 GB, free: 14.85 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.3405, allocations: 4 kB / 1.064 GB, free: 14.85 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001149/0.3406, allocations: 23.97 kB / 1.064 GB, free: 14.82 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.039e-06/0.3406, allocations: 4 kB / 1.064 GB, free: 14.82 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.118e-05/0.3406, allocations: 3.938 kB / 1.064 GB, free: 14.82 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.482e-06/0.3407, allocations: 4 kB / 1.064 GB, free: 14.81 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.3407, allocations: 0 / 1.064 GB, free: 14.81 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004629/0.3411, allocations: 201.1 kB / 1.065 GB, free: 14.6 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.619e-05/0.3412, allocations: 84.95 kB / 1.065 GB, free: 14.5 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.792e-05/0.3412, allocations: 7.984 kB / 1.065 GB, free: 14.49 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001326/0.3414, allocations: 23.97 kB / 1.065 GB, free: 14.46 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.94e-05/0.3414, allocations: 7.984 kB / 1.065 GB, free: 14.46 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.046e-05/0.3414, allocations: 11.94 kB / 1.065 GB, free: 14.45 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 8.16e-05/0.3415, allocations: 109 kB / 1.065 GB, free: 14.34 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3415, allocations: 0 / 1.065 GB, free: 14.34 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002496/0.3418, allocations: 43.94 kB / 1.065 GB, free: 14.3 MB / 0.8262 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.0001877/0.342, allocations: 115.2 kB / 1.065 GB, free: 14.18 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004843/0.3425, allocations: 203.2 kB / 1.065 GB, free: 13.96 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.3425, allocations: 3.938 kB / 1.065 GB, free: 13.96 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002186/0.3427, allocations: 75.95 kB / 1.065 GB, free: 13.89 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002191/0.3429, allocations: 14.02 kB / 1.065 GB, free: 13.88 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005085/0.3435, allocations: 263 kB / 1.065 GB, free: 13.59 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002647/0.3437, allocations: 0.7043 MB / 1.066 GB, free: 12.86 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 6.859e-05/0.3438, allocations: 15.97 kB / 1.066 GB, free: 12.84 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.097e-05/0.3439, allocations: 15.44 kB / 1.066 GB, free: 12.82 MB / 0.8262 GB Notification: Performance of SimCode: time 2.214e-06/0.3439, allocations: 0 / 1.066 GB, free: 12.82 MB / 0.8262 GB Notification: Performance of Templates: time 0.003789/0.3477, allocations: 1.261 MB / 1.067 GB, free: 11.57 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.Continuous.Examples.SignalRanker.makefile (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 & ./Buildings_latest_Buildings.Controls.Continuous.Examples.SignalRanker -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.Continuous.Examples.SignalRanker.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.Continuous.Examples.SignalRanker_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_Continuous_Examples_SignalRanker.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.Continuous.Examples.SignalRanker.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches