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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001277/0.001278, allocations: 102.1 kB / 16.4 MB, free: 6.461 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.001493/0.001494, allocations: 189.7 kB / 17.34 MB, free: 5.719 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.389/1.389, allocations: 222.9 MB / 241 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.319/2.319, allocations: 390.3 MB / 0.6655 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001308/0.001308, allocations: 63.91 kB / 0.9515 GB, free: 7.688 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9148/0.9161, allocations: 140.4 MB / 1.089 GB, free: 5.527 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.SignalRanker): time 0.002586/0.9188, allocations: 1.56 MB / 1.09 GB, free: 4.441 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0009964/0.9198, allocations: 0.5672 MB / 1.091 GB, free: 4.055 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.896e-05/0.9198, allocations: 4.875 kB / 1.091 GB, free: 4.051 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001143/0.92, allocations: 7.172 kB / 1.091 GB, free: 4.047 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.228e-05/0.92, allocations: 20.09 kB / 1.091 GB, free: 4.031 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.000412/0.9205, allocations: 91.86 kB / 1.091 GB, free: 3.992 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001613/0.9206, allocations: 104.2 kB / 1.091 GB, free: 3.941 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001225/0.9208, allocations: 20.83 kB / 1.091 GB, free: 3.93 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001325/0.9209, allocations: 44.84 kB / 1.091 GB, free: 3.91 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001033/0.921, allocations: 45.64 kB / 1.091 GB, free: 3.891 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.531e-05/0.921, allocations: 6.75 kB / 1.091 GB, free: 3.891 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001761/0.9212, allocations: 90.91 kB / 1.091 GB, free: 3.863 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 5.231e-05/0.9213, allocations: 21.72 kB / 1.091 GB, free: 3.852 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.888e-05/0.9213, allocations: 41.2 kB / 1.091 GB, free: 3.824 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002412/0.9216, allocations: 137 kB / 1.091 GB, free: 3.781 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.9216, allocations: 0 / 1.091 GB, free: 3.781 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.643e-06/0.9216, allocations: 0 / 1.091 GB, free: 3.781 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.14e-06/0.9216, allocations: 0 / 1.091 GB, free: 3.781 MB / 0.8575 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.0007451/0.9224, allocations: 457.7 kB / 1.092 GB, free: 3.352 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.731e-05/0.9224, allocations: 10.17 kB / 1.092 GB, free: 3.352 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.162e-05/0.9225, allocations: 13.91 kB / 1.092 GB, free: 3.344 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001542/0.9226, allocations: 192 kB / 1.092 GB, free: 3.133 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.355e-05/0.9227, allocations: 3.25 kB / 1.092 GB, free: 3.133 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.153e-05/0.9227, allocations: 8.266 kB / 1.092 GB, free: 3.129 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003241/0.923, allocations: 101.8 kB / 1.092 GB, free: 3.082 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.645e-06/0.923, allocations: 3.938 kB / 1.092 GB, free: 3.078 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.488e-05/0.923, allocations: 1.234 kB / 1.092 GB, free: 3.078 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.359e-05/0.9231, allocations: 13.16 kB / 1.092 GB, free: 3.07 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003477/0.9234, allocations: 83.16 kB / 1.092 GB, free: 3.059 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000699/0.9241, allocations: 356.2 kB / 1.092 GB, free: 2.75 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003459/0.9245, allocations: 92.2 kB / 1.093 GB, free: 2.711 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001901/0.9247, allocations: 58.67 kB / 1.093 GB, free: 2.691 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.598e-05/0.9247, allocations: 0.8125 kB / 1.093 GB, free: 2.691 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003557/0.9251, allocations: 117.6 kB / 1.093 GB, free: 2.625 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=9): time 1.684e-06/0.9251, allocations: 1.219 kB / 1.093 GB, free: 2.625 MB / 0.8575 GB Notification: Performance of matching and sorting (n=9): time 0.0006955/0.9258, allocations: 203.4 kB / 1.093 GB, free: 2.559 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.805e-05/0.9258, allocations: 53.92 kB / 1.093 GB, free: 2.496 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001125/0.926, allocations: 142.5 kB / 1.093 GB, free: 2.383 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.792e-05/0.926, allocations: 31.47 kB / 1.093 GB, free: 2.348 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.523e-05/0.926, allocations: 98.45 kB / 1.093 GB, free: 2.254 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.906e-05/0.9261, allocations: 30.3 kB / 1.093 GB, free: 2.23 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.594e-05/0.9261, allocations: 28.69 kB / 1.093 GB, free: 2.207 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 6.099e-05/0.9262, allocations: 326.1 kB / 1.094 GB, free: 1.887 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001967/0.9264, allocations: 56.53 kB / 1.094 GB, free: 1.875 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001876/0.9266, allocations: 61.28 kB / 1.094 GB, free: 1.859 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003686/0.927, allocations: 139.2 kB / 1.094 GB, free: 1.801 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.927, allocations: 0 / 1.094 GB, free: 1.801 MB / 0.8575 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004685/0.9275, allocations: 207.5 kB / 1.094 GB, free: 1.695 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 3.326e-05/0.9275, allocations: 32.66 kB / 1.094 GB, free: 1.664 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.205e-06/0.9275, allocations: 4 kB / 1.094 GB, free: 1.66 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.912e-05/0.9275, allocations: 1.969 kB / 1.094 GB, free: 1.66 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000155/0.9277, allocations: 18.19 kB / 1.094 GB, free: 1.66 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.9277, allocations: 1.406 kB / 1.094 GB, free: 1.66 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001484/0.9279, allocations: 14.55 kB / 1.094 GB, free: 1.66 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.775e-05/0.9279, allocations: 3.812 kB / 1.094 GB, free: 1.66 MB / 0.8575 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 9.686e-05/0.928, allocations: 141.5 kB / 1.094 GB, free: 1.52 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.204e-05/0.928, allocations: 9.109 kB / 1.094 GB, free: 1.516 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.365e-05/0.9281, allocations: 16.3 kB / 1.094 GB, free: 1.5 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.642e-05/0.9281, allocations: 4.047 kB / 1.094 GB, free: 1.5 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/0.9281, allocations: 4.641 kB / 1.094 GB, free: 1.496 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.9281, allocations: 1.438 kB / 1.094 GB, free: 1.496 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001574/0.9283, allocations: 206.1 kB / 1.094 GB, free: 1.281 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.9283, allocations: 0.6875 kB / 1.094 GB, free: 1.281 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001171/0.9284, allocations: 16.62 kB / 1.094 GB, free: 1.281 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.506e-06/0.9284, allocations: 5.375 kB / 1.094 GB, free: 1.277 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.433e-05/0.9284, allocations: 5.375 kB / 1.094 GB, free: 1.273 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.976e-06/0.9284, allocations: 5.609 kB / 1.094 GB, free: 1.27 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.9284, allocations: 0 / 1.094 GB, free: 1.27 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004553/0.9289, allocations: 180.8 kB / 1.095 GB, free: 1.176 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.794e-05/0.9289, allocations: 89.11 kB / 1.095 GB, free: 1.074 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.639e-05/0.929, allocations: 1.438 kB / 1.095 GB, free: 1.074 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001346/0.9291, allocations: 18.53 kB / 1.095 GB, free: 1.07 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.632e-05/0.9292, allocations: 9.438 kB / 1.095 GB, free: 1.07 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.225e-05/0.9292, allocations: 7.641 kB / 1.095 GB, free: 1.066 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.964e-05/0.9293, allocations: 107.2 kB / 1.095 GB, free: 0.9844 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9293, allocations: 0.75 kB / 1.095 GB, free: 0.9844 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.000296/0.9296, allocations: 40.8 kB / 1.095 GB, free: 0.9766 MB / 0.8575 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.000172/0.9297, allocations: 114 kB / 1.095 GB, free: 0.8867 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0005019/0.9303, allocations: 191.8 kB / 1.095 GB, free: 0.7891 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.9303, allocations: 0 / 1.095 GB, free: 0.7891 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0002151/0.9305, allocations: 57.78 kB / 1.095 GB, free: 0.7812 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002236/0.9307, allocations: 15.56 kB / 1.095 GB, free: 0.7734 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005551/0.9313, allocations: 258.3 kB / 1.096 GB, free: 0.5781 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000193/0.9315, allocations: 0.7015 MB / 1.096 GB, free: 15.88 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.452e-05/0.9316, allocations: 14.27 kB / 1.096 GB, free: 15.88 MB / 0.8731 GB Notification: Performance of SimCode: time 4.11e-07/0.9316, allocations: 0 / 1.096 GB, free: 15.88 MB / 0.8731 GB Notification: Performance of Templates: time 0.00404/0.9356, allocations: 1.517 MB / 1.098 GB, free: 15.75 MB / 0.8731 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