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.00778/0.00778, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001707/0.001707, allocations: 201.3 kB / 16.68 MB, free: 5.969 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.473/1.473, allocations: 222.9 MB / 240.4 MB, free: 4.328 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.972/2.972, allocations: 437 MB / 0.7105 GB, free: 5.031 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001253/0.001253, allocations: 60.05 kB / 1.018 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3244/0.3257, allocations: 151.6 MB / 1.167 GB, free: 6.828 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.SignalRanker): time 0.003683/0.3295, allocations: 1.536 MB / 1.168 GB, free: 5.273 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001099/0.3306, allocations: 0.5766 MB / 1.169 GB, free: 4.691 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.781e-05/0.3307, allocations: 0 / 1.169 GB, free: 4.691 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001309/0.3308, allocations: 11.88 kB / 1.169 GB, free: 4.68 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 5.717e-05/0.3309, allocations: 23.84 kB / 1.169 GB, free: 4.656 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004436/0.3314, allocations: 87.77 kB / 1.169 GB, free: 4.57 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001559/0.3315, allocations: 103.6 kB / 1.169 GB, free: 4.469 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001264/0.3317, allocations: 24.22 kB / 1.169 GB, free: 4.441 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001322/0.3318, allocations: 51.77 kB / 1.169 GB, free: 4.391 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001086/0.3319, allocations: 47.83 kB / 1.169 GB, free: 4.344 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.37e-05/0.332, allocations: 4 kB / 1.169 GB, free: 4.34 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001446/0.3321, allocations: 91.84 kB / 1.169 GB, free: 4.25 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 5.712e-05/0.3322, allocations: 19.92 kB / 1.169 GB, free: 4.23 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 6.414e-05/0.3323, allocations: 43.72 kB / 1.169 GB, free: 4.188 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002249/0.3325, allocations: 131.5 kB / 1.169 GB, free: 4.059 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.391e-06/0.3325, allocations: 0 / 1.169 GB, free: 4.059 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.443e-06/0.3325, allocations: 7.938 kB / 1.169 GB, free: 4.051 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.22e-06/0.3325, allocations: 4 kB / 1.169 GB, free: 4.047 MB / 0.92 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.0008399/0.3334, allocations: 456.6 kB / 1.17 GB, free: 3.547 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.82e-05/0.3334, allocations: 8.031 kB / 1.17 GB, free: 3.539 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.915e-05/0.3335, allocations: 12.84 kB / 1.17 GB, free: 3.527 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002033/0.3337, allocations: 200.2 kB / 1.17 GB, free: 3.293 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.251e-05/0.3337, allocations: 4.375 kB / 1.17 GB, free: 3.289 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.389e-05/0.3337, allocations: 8.375 kB / 1.17 GB, free: 3.281 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000311/0.3341, allocations: 105.9 kB / 1.17 GB, free: 3.172 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.398e-06/0.3341, allocations: 0 / 1.17 GB, free: 3.172 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.841e-05/0.3341, allocations: 7.984 kB / 1.17 GB, free: 3.164 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.486e-05/0.3341, allocations: 8 kB / 1.17 GB, free: 3.156 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000313/0.3344, allocations: 83.86 kB / 1.17 GB, free: 3.074 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006533/0.3351, allocations: 348.7 kB / 1.17 GB, free: 2.684 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002964/0.3354, allocations: 86.52 kB / 1.171 GB, free: 2.59 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001713/0.3356, allocations: 60.88 kB / 1.171 GB, free: 2.527 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.96e-05/0.3356, allocations: 4 kB / 1.171 GB, free: 2.523 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003098/0.3359, allocations: 111.3 kB / 1.171 GB, free: 2.402 MB / 0.92 GB Notification: Performance of pre-optimization done (n=9): time 1.753e-06/0.3359, allocations: 4 kB / 1.171 GB, free: 2.398 MB / 0.92 GB Notification: Performance of matching and sorting (n=9): time 0.0006719/0.3366, allocations: 217.7 kB / 1.171 GB, free: 2.18 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.732e-05/0.3367, allocations: 55.45 kB / 1.171 GB, free: 2.113 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001301/0.3368, allocations: 144 kB / 1.171 GB, free: 1.965 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.206e-05/0.3368, allocations: 29.7 kB / 1.171 GB, free: 1.93 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 6.856e-05/0.3369, allocations: 104 kB / 1.171 GB, free: 1.824 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.506e-05/0.3369, allocations: 23.84 kB / 1.171 GB, free: 1.801 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.041e-05/0.337, allocations: 21.72 kB / 1.171 GB, free: 1.773 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001177/0.3371, allocations: 330.8 kB / 1.172 GB, free: 1.441 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001873/0.3373, allocations: 55.95 kB / 1.172 GB, free: 1.387 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000168/0.3375, allocations: 55.95 kB / 1.172 GB, free: 1.332 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003537/0.3379, allocations: 146.4 kB / 1.172 GB, free: 1.18 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.3379, allocations: 0 / 1.172 GB, free: 1.18 MB / 0.92 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004614/0.3383, allocations: 207.2 kB / 1.172 GB, free: 0.9648 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 3.58e-05/0.3384, allocations: 31.58 kB / 1.172 GB, free: 0.9297 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.396e-06/0.3384, allocations: 3.984 kB / 1.172 GB, free: 0.9258 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/0.3384, allocations: 0 / 1.172 GB, free: 0.9258 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001397/0.3386, allocations: 19.98 kB / 1.172 GB, free: 0.9062 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.153e-06/0.3386, allocations: 4.078 kB / 1.172 GB, free: 0.9023 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001309/0.3387, allocations: 19.86 kB / 1.172 GB, free: 0.8828 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.296e-05/0.3388, allocations: 11.97 kB / 1.172 GB, free: 0.8711 MB / 0.92 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.0001007/0.3389, allocations: 129.7 kB / 1.172 GB, free: 0.7344 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.184e-05/0.3389, allocations: 15.91 kB / 1.172 GB, free: 0.7188 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.219e-05/0.3389, allocations: 12.7 kB / 1.172 GB, free: 0.707 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.237e-05/0.3389, allocations: 4 kB / 1.172 GB, free: 0.7031 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.3389, allocations: 0 / 1.172 GB, free: 0.7031 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.339, allocations: 4 kB / 1.172 GB, free: 0.6992 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002033/0.3392, allocations: 197.5 kB / 1.172 GB, free: 468 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.3392, allocations: 0 / 1.172 GB, free: 468 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001104/0.3393, allocations: 19.98 kB / 1.172 GB, free: 448 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.3393, allocations: 0 / 1.172 GB, free: 448 kB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.43e-05/0.3393, allocations: 0 / 1.172 GB, free: 448 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.3393, allocations: 0 / 1.172 GB, free: 448 kB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.3393, allocations: 0 / 1.172 GB, free: 448 kB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004499/0.3398, allocations: 197 kB / 1.173 GB, free: 232 kB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 6.808e-05/0.3399, allocations: 85.05 kB / 1.173 GB, free: 128 kB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.678e-05/0.3399, allocations: 7.984 kB / 1.173 GB, free: 120 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001237/0.34, allocations: 15.98 kB / 1.173 GB, free: 104 kB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.27e-05/0.3401, allocations: 7.984 kB / 1.173 GB, free: 96 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.69e-05/0.3401, allocations: 11.98 kB / 1.173 GB, free: 84 kB / 0.92 GB Notification: Performance of sorting global known variables: time 8.528e-05/0.3402, allocations: 113.5 kB / 1.173 GB, free: 15.97 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.51e-07/0.3402, allocations: 0 / 1.173 GB, free: 15.97 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002437/0.3405, allocations: 39.88 kB / 1.173 GB, free: 15.93 MB / 0.9356 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.000205/0.3407, allocations: 119.2 kB / 1.173 GB, free: 15.81 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004651/0.3412, allocations: 179.2 kB / 1.173 GB, free: 15.62 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.3412, allocations: 8 kB / 1.173 GB, free: 15.61 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0002026/0.3414, allocations: 63.89 kB / 1.173 GB, free: 15.55 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002304/0.3416, allocations: 11.84 kB / 1.173 GB, free: 15.54 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005455/0.3422, allocations: 238.9 kB / 1.174 GB, free: 15.28 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000281/0.3425, allocations: 0.7002 MB / 1.174 GB, free: 14.55 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 6.846e-05/0.3426, allocations: 11.98 kB / 1.174 GB, free: 14.54 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.045e-05/0.3426, allocations: 15.42 kB / 1.174 GB, free: 14.53 MB / 0.9356 GB Notification: Performance of SimCode: time 2.003e-06/0.3426, allocations: 0 / 1.174 GB, free: 14.53 MB / 0.9356 GB Notification: Performance of Templates: time 0.004095/0.3467, allocations: 1.419 MB / 1.176 GB, free: 13.11 MB / 0.9356 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