Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001334/0.001334, allocations: 104.7 kB / 15.98 MB, free: 6.344 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.001366/0.001366, allocations: 196.1 kB / 16.91 MB, free: 6.184 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.408/1.408, allocations: 222.9 MB / 240.6 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.718/2.718, allocations: 469.8 MB / 0.7427 GB, free: 3.652 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001954/0.001955, allocations: 65.22 kB / 0.9087 GB, free: 14.29 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3425/0.3445, allocations: 159.1 MB / 1.064 GB, free: 15.16 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.SignalRanker): time 0.003384/0.3479, allocations: 1.606 MB / 1.066 GB, free: 13.54 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.00118/0.3491, allocations: 0.5806 MB / 1.066 GB, free: 12.95 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.512e-05/0.3492, allocations: 0 / 1.066 GB, free: 12.95 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0001211/0.3493, allocations: 7.922 kB / 1.066 GB, free: 12.95 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 6.573e-05/0.3494, allocations: 11.88 kB / 1.066 GB, free: 12.93 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004481/0.3499, allocations: 79.84 kB / 1.066 GB, free: 12.86 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0002017/0.3501, allocations: 111.6 kB / 1.066 GB, free: 12.75 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001211/0.3502, allocations: 20.22 kB / 1.066 GB, free: 12.72 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001355/0.3504, allocations: 39.91 kB / 1.067 GB, free: 12.68 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 9.776e-05/0.3505, allocations: 51.75 kB / 1.067 GB, free: 12.63 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.29e-05/0.3505, allocations: 8 kB / 1.067 GB, free: 12.62 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001342/0.3507, allocations: 67.89 kB / 1.067 GB, free: 12.56 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 5.28e-05/0.3507, allocations: 15.92 kB / 1.067 GB, free: 12.54 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 6.271e-05/0.3508, allocations: 35.8 kB / 1.067 GB, free: 12.51 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001818/0.351, allocations: 96.06 kB / 1.067 GB, free: 12.41 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.351, allocations: 0 / 1.067 GB, free: 12.41 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.533e-06/0.351, allocations: 0 / 1.067 GB, free: 12.41 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.771e-06/0.351, allocations: 0 / 1.067 GB, free: 12.41 MB / 0.8419 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.000839/0.3518, allocations: 456.7 kB / 1.067 GB, free: 11.91 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.935e-05/0.3519, allocations: 8.625 kB / 1.067 GB, free: 11.91 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.316e-05/0.352, allocations: 20.75 kB / 1.067 GB, free: 11.89 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002054/0.3522, allocations: 196.1 kB / 1.067 GB, free: 11.66 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.072e-05/0.3522, allocations: 384 / 1.067 GB, free: 11.66 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.749e-05/0.3522, allocations: 4.375 kB / 1.067 GB, free: 11.65 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000324/0.3525, allocations: 113.9 kB / 1.068 GB, free: 11.54 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/0.3526, allocations: 0 / 1.068 GB, free: 11.54 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.318e-05/0.3526, allocations: 0 / 1.068 GB, free: 11.54 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.229e-05/0.3526, allocations: 8 kB / 1.068 GB, free: 11.53 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003252/0.3529, allocations: 95.84 kB / 1.068 GB, free: 11.43 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006552/0.3536, allocations: 340.7 kB / 1.068 GB, free: 11.05 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003071/0.3539, allocations: 94.5 kB / 1.068 GB, free: 10.95 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001737/0.3541, allocations: 56.88 kB / 1.068 GB, free: 10.89 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.726e-05/0.3541, allocations: 4.062 kB / 1.068 GB, free: 10.89 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000333/0.3545, allocations: 119.3 kB / 1.068 GB, free: 10.76 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=9): time 1.623e-06/0.3545, allocations: 0 / 1.068 GB, free: 10.76 MB / 0.8419 GB Notification: Performance of matching and sorting (n=9): time 0.0006576/0.3552, allocations: 197.4 kB / 1.068 GB, free: 10.56 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.323e-05/0.3552, allocations: 63.41 kB / 1.068 GB, free: 10.48 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001273/0.3554, allocations: 139.7 kB / 1.069 GB, free: 10.34 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.571e-05/0.3554, allocations: 29.7 kB / 1.069 GB, free: 10.3 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 7.455e-05/0.3555, allocations: 100 kB / 1.069 GB, free: 10.2 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 3.205e-05/0.3555, allocations: 27.64 kB / 1.069 GB, free: 10.18 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.923e-05/0.3556, allocations: 29.69 kB / 1.069 GB, free: 10.14 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001419/0.3557, allocations: 322.8 kB / 1.069 GB, free: 9.816 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002005/0.3559, allocations: 60.06 kB / 1.069 GB, free: 9.758 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001712/0.3561, allocations: 59.89 kB / 1.069 GB, free: 9.699 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003596/0.3565, allocations: 150.5 kB / 1.069 GB, free: 9.543 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.3565, allocations: 0 / 1.069 GB, free: 9.543 MB / 0.8419 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004564/0.3569, allocations: 199.1 kB / 1.07 GB, free: 9.336 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 4.491e-05/0.357, allocations: 36.52 kB / 1.07 GB, free: 9.297 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.357, allocations: 0 / 1.07 GB, free: 9.297 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.199e-05/0.357, allocations: 0 / 1.07 GB, free: 9.297 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000139/0.3572, allocations: 23.97 kB / 1.07 GB, free: 9.273 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/0.3572, allocations: 0 / 1.07 GB, free: 9.273 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00014/0.3573, allocations: 23.86 kB / 1.07 GB, free: 9.25 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.599e-05/0.3573, allocations: 0 / 1.07 GB, free: 9.25 MB / 0.8419 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.0001438/0.3575, allocations: 135.9 kB / 1.07 GB, free: 9.109 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.584e-05/0.3575, allocations: 11.89 kB / 1.07 GB, free: 9.098 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.324e-05/0.3576, allocations: 16.72 kB / 1.07 GB, free: 9.082 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.323e-05/0.3576, allocations: 4 kB / 1.07 GB, free: 9.078 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.3576, allocations: 0 / 1.07 GB, free: 9.078 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.632e-06/0.3576, allocations: 0 / 1.07 GB, free: 9.078 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001951/0.3578, allocations: 201.4 kB / 1.07 GB, free: 8.832 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.3578, allocations: 0 / 1.07 GB, free: 8.832 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001108/0.3579, allocations: 23.97 kB / 1.07 GB, free: 8.809 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.3579, allocations: 0 / 1.07 GB, free: 8.809 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.369e-05/0.358, allocations: 4 kB / 1.07 GB, free: 8.805 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.358, allocations: 0 / 1.07 GB, free: 8.805 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.358, allocations: 4 kB / 1.07 GB, free: 8.801 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004418/0.3584, allocations: 192.8 kB / 1.07 GB, free: 8.594 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.324e-05/0.3585, allocations: 85.02 kB / 1.07 GB, free: 8.492 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.261e-05/0.3585, allocations: 0 / 1.07 GB, free: 8.492 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001245/0.3586, allocations: 15.97 kB / 1.07 GB, free: 8.477 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.298e-05/0.3587, allocations: 15.98 kB / 1.07 GB, free: 8.461 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.917e-06/0.3587, allocations: 0 / 1.07 GB, free: 8.461 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 7.993e-05/0.3588, allocations: 106.2 kB / 1.07 GB, free: 8.359 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1e-07/0.3588, allocations: 0 / 1.07 GB, free: 8.359 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002497/0.3591, allocations: 47.92 kB / 1.07 GB, free: 8.312 MB / 0.8419 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.0001757/0.3593, allocations: 111.2 kB / 1.071 GB, free: 8.195 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0004951/0.3598, allocations: 195.2 kB / 1.071 GB, free: 7.992 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.3598, allocations: 0 / 1.071 GB, free: 7.992 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002089/0.36, allocations: 67.88 kB / 1.071 GB, free: 7.926 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002236/0.3602, allocations: 22.5 kB / 1.071 GB, free: 7.906 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005839/0.3608, allocations: 272.3 kB / 1.071 GB, free: 7.609 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003422/0.3612, allocations: 0.7077 MB / 1.072 GB, free: 6.875 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.585e-05/0.3612, allocations: 19.44 kB / 1.072 GB, free: 6.855 MB / 0.8419 GB Notification: Performance of SimCode: time 2.2e-07/0.3612, allocations: 0 / 1.072 GB, free: 6.855 MB / 0.8419 GB Notification: Performance of Templates: time 0.003878/0.3651, allocations: 1.517 MB / 1.073 GB, free: 5.34 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Controls.Continuous.Examples.SignalRanker.makefile (rm -f Buildings_11_Buildings.Controls.Continuous.Examples.SignalRanker.pipe ; mkfifo Buildings_11_Buildings.Controls.Continuous.Examples.SignalRanker.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.Continuous.Examples.SignalRanker.pipe >> ../files/Buildings_11_Buildings.Controls.Continuous.Examples.SignalRanker.sim & ./Buildings_11_Buildings.Controls.Continuous.Examples.SignalRanker -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.Continuous.Examples.SignalRanker.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.Continuous.Examples.SignalRanker_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_Continuous_Examples_SignalRanker.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.Continuous.Examples.SignalRanker.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches