Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_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_9_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.0008193/0.0008193, allocations: 92.08 kB / 16.02 MB, free: 80 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.0008933/0.0008935, allocations: 184.2 kB / 16.92 MB, free: 6.926 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.544/1.544, allocations: 223.3 MB / 241 MB, free: 5.258 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.418/2.418, allocations: 390.9 MB / 0.667 GB, free: 2.34 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003801/0.0003803, allocations: 12 kB / 0.8166 GB, free: 13.26 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6868/0.6872, allocations: 142.4 MB / 0.9557 GB, free: 7.645 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.SignalRanker): time 0.001465/0.6887, allocations: 1.269 MB / 0.9569 GB, free: 6.637 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008627/0.6896, allocations: 0.5829 MB / 0.9575 GB, free: 6.184 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.157e-05/0.6896, allocations: 5.406 kB / 0.9575 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 9.068e-05/0.6897, allocations: 3.938 kB / 0.9575 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.283e-05/0.6898, allocations: 14.33 kB / 0.9575 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002934/0.6901, allocations: 67.55 kB / 0.9576 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001075/0.6902, allocations: 98.12 kB / 0.9577 GB, free: 6.059 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001063/0.6903, allocations: 16.81 kB / 0.9577 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001012/0.6904, allocations: 40.19 kB / 0.9577 GB, free: 6.023 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.267e-05/0.6905, allocations: 46.16 kB / 0.9578 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.698e-05/0.6905, allocations: 6.875 kB / 0.9578 GB, free: 5.988 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001002/0.6906, allocations: 61.14 kB / 0.9578 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.207e-05/0.6907, allocations: 11.27 kB / 0.9579 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.198e-05/0.6908, allocations: 67 kB / 0.9579 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001248/0.6909, allocations: 87.45 kB / 0.958 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.6909, allocations: 1.594 kB / 0.958 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.473e-06/0.6909, allocations: 0 / 0.958 GB, free: 5.832 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.448e-06/0.6909, allocations: 0 / 0.958 GB, free: 5.832 MB / 0.7169 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.0006208/0.6915, allocations: 444.9 kB / 0.9584 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.619e-05/0.6916, allocations: 9.75 kB / 0.9584 GB, free: 5.395 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.389e-05/0.6916, allocations: 14.2 kB / 0.9585 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001282/0.6918, allocations: 197.1 kB / 0.9586 GB, free: 5.164 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.491e-05/0.6918, allocations: 5.781 kB / 0.9586 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.017e-05/0.6918, allocations: 8.094 kB / 0.9587 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002873/0.6921, allocations: 120 kB / 0.9588 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.683e-06/0.6921, allocations: 1.562 kB / 0.9588 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.347e-05/0.6921, allocations: 0 / 0.9588 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.092e-05/0.6922, allocations: 8.375 kB / 0.9588 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000346/0.6925, allocations: 122.5 kB / 0.9589 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005532/0.6931, allocations: 359.6 kB / 0.9592 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002971/0.6934, allocations: 107 kB / 0.9593 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001761/0.6936, allocations: 64.75 kB / 0.9594 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.783e-05/0.6936, allocations: 5.219 kB / 0.9594 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002989/0.6939, allocations: 129.7 kB / 0.9595 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=9): time 2.064e-06/0.6939, allocations: 0 / 0.9595 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of matching and sorting (n=9): time 0.0006382/0.6946, allocations: 234 kB / 0.9598 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.306e-05/0.6946, allocations: 56.48 kB / 0.9598 GB, free: 4.32 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.051e-05/0.6947, allocations: 149 kB / 0.9599 GB, free: 4.191 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.524e-05/0.6947, allocations: 27.17 kB / 0.96 GB, free: 4.16 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.005e-05/0.6948, allocations: 100 kB / 0.9601 GB, free: 4.062 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.992e-05/0.6948, allocations: 23.81 kB / 0.9601 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.807e-05/0.6948, allocations: 20.48 kB / 0.9601 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.271e-05/0.6949, allocations: 325.2 kB / 0.9604 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001939/0.6951, allocations: 70.5 kB / 0.9605 GB, free: 3.668 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001783/0.6952, allocations: 69.7 kB / 0.9606 GB, free: 3.641 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003628/0.6956, allocations: 169 kB / 0.9607 GB, free: 3.547 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.6956, allocations: 0 / 0.9607 GB, free: 3.547 MB / 0.7169 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004302/0.6961, allocations: 218.8 kB / 0.9609 GB, free: 3.422 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.936e-05/0.6961, allocations: 40.59 kB / 0.961 GB, free: 3.383 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.68e-06/0.6961, allocations: 0 / 0.961 GB, free: 3.383 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.421e-05/0.6961, allocations: 1.375 kB / 0.961 GB, free: 3.383 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001528/0.6963, allocations: 20.58 kB / 0.961 GB, free: 3.379 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.139e-06/0.6963, allocations: 5.312 kB / 0.961 GB, free: 3.375 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001399/0.6965, allocations: 29.62 kB / 0.961 GB, free: 3.359 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.513e-05/0.6965, allocations: 2.75 kB / 0.961 GB, free: 3.359 MB / 0.7169 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 6.838e-05/0.6965, allocations: 123.2 kB / 0.9611 GB, free: 3.234 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.762e-05/0.6966, allocations: 9.406 kB / 0.9611 GB, free: 3.23 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.058e-05/0.6966, allocations: 18.08 kB / 0.9612 GB, free: 3.215 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.294e-05/0.6966, allocations: 4.125 kB / 0.9612 GB, free: 3.215 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.6966, allocations: 0 / 0.9612 GB, free: 3.215 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.6966, allocations: 4 kB / 0.9612 GB, free: 3.211 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001181/0.6968, allocations: 200.7 kB / 0.9614 GB, free: 2.984 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.6968, allocations: 0 / 0.9614 GB, free: 2.984 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001108/0.6969, allocations: 20.48 kB / 0.9614 GB, free: 2.98 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.6969, allocations: 0 / 0.9614 GB, free: 2.98 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.204e-05/0.6969, allocations: 5.359 kB / 0.9614 GB, free: 2.977 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.6969, allocations: 0 / 0.9614 GB, free: 2.977 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.6969, allocations: 0 / 0.9614 GB, free: 2.977 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004029/0.6973, allocations: 219.6 kB / 0.9616 GB, free: 2.836 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.456e-05/0.6974, allocations: 83.77 kB / 0.9617 GB, free: 2.738 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.254e-05/0.6974, allocations: 1.375 kB / 0.9617 GB, free: 2.738 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000126/0.6975, allocations: 16.36 kB / 0.9617 GB, free: 2.734 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.779e-05/0.6976, allocations: 17.47 kB / 0.9617 GB, free: 2.723 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.456e-06/0.6976, allocations: 2.75 kB / 0.9617 GB, free: 2.723 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 5.06e-05/0.6977, allocations: 105.2 kB / 0.9618 GB, free: 2.637 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6977, allocations: 0 / 0.9618 GB, free: 2.637 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002513/0.6979, allocations: 48.36 kB / 0.9619 GB, free: 2.621 MB / 0.7169 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.0001542/0.6981, allocations: 115.7 kB / 0.962 GB, free: 2.523 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004605/0.6985, allocations: 206.9 kB / 0.9622 GB, free: 2.402 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.6986, allocations: 0 / 0.9622 GB, free: 2.402 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0002036/0.6988, allocations: 73.92 kB / 0.9622 GB, free: 2.375 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002138/0.699, allocations: 17.28 kB / 0.9623 GB, free: 2.363 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004759/0.6995, allocations: 285.7 kB / 0.9625 GB, free: 2.121 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001156/0.6996, allocations: 0.7034 MB / 0.9632 GB, free: 1.41 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.495e-05/0.6997, allocations: 11.66 kB / 0.9632 GB, free: 1.402 MB / 0.7169 GB Notification: Performance of SimCode: time 2.31e-07/0.6997, allocations: 0 / 0.9632 GB, free: 1.402 MB / 0.7169 GB Notification: Performance of Templates: time 0.002854/0.7025, allocations: 1.493 MB / 0.9647 GB, free: 0.6445 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.Continuous.Examples.SignalRanker.makefile (rm -f Buildings_9_Buildings.Controls.Continuous.Examples.SignalRanker.pipe ; mkfifo Buildings_9_Buildings.Controls.Continuous.Examples.SignalRanker.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.Continuous.Examples.SignalRanker.pipe >> ../files/Buildings_9_Buildings.Controls.Continuous.Examples.SignalRanker.sim & ./Buildings_9_Buildings.Controls.Continuous.Examples.SignalRanker -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.Continuous.Examples.SignalRanker.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.Continuous.Examples.SignalRanker_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_Continuous_Examples_SignalRanker.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.Continuous.Examples.SignalRanker.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches