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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001894/0.001894, allocations: 115.5 kB / 17.08 MB, free: 5.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001908/0.001908, allocations: 193.2 kB / 20.03 MB, free: 3.047 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.507/1.507, allocations: 222.9 MB / 245.7 MB, free: 4.215 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.08/3.08, allocations: 489.3 MB / 0.7687 GB, free: 3.816 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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=2500,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=2500,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") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001944/0.001944, allocations: 59.89 kB / 1.103 GB, free: 0.8555 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.279/1.281, allocations: 163.8 MB / 1.263 GB, free: 7.988 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.SignalRanker): time 0.002821/1.284, allocations: 1.56 MB / 1.264 GB, free: 6.918 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001032/1.285, allocations: 0.567 MB / 1.265 GB, free: 6.527 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.599e-05/1.285, allocations: 0.8125 kB / 1.265 GB, free: 6.527 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001123/1.285, allocations: 11.11 kB / 1.265 GB, free: 6.52 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 5.395e-05/1.286, allocations: 24.19 kB / 1.265 GB, free: 6.5 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004142/1.286, allocations: 91.53 kB / 1.265 GB, free: 6.461 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001659/1.286, allocations: 97.41 kB / 1.265 GB, free: 6.418 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001165/1.286, allocations: 19.48 kB / 1.265 GB, free: 6.406 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001311/1.286, allocations: 49.02 kB / 1.265 GB, free: 6.383 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001005/1.287, allocations: 45.33 kB / 1.265 GB, free: 6.363 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.603e-05/1.287, allocations: 6.875 kB / 1.265 GB, free: 6.363 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001797/1.287, allocations: 87.78 kB / 1.265 GB, free: 6.34 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 5.512e-05/1.287, allocations: 25.09 kB / 1.265 GB, free: 6.324 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 6.998e-05/1.287, allocations: 37.11 kB / 1.265 GB, free: 6.301 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002801/1.287, allocations: 139 kB / 1.265 GB, free: 6.258 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.574e-06/1.287, allocations: 8 kB / 1.265 GB, free: 6.25 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.454e-06/1.287, allocations: 0.8438 kB / 1.265 GB, free: 6.25 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.232e-06/1.287, allocations: 0 / 1.265 GB, free: 6.25 MB / 0.9981 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.000801/1.288, allocations: 451.9 kB / 1.266 GB, free: 5.824 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.233e-05/1.288, allocations: 10.08 kB / 1.266 GB, free: 5.824 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.428e-05/1.288, allocations: 14.11 kB / 1.266 GB, free: 5.816 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000168/1.288, allocations: 195.4 kB / 1.266 GB, free: 5.602 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.501e-05/1.288, allocations: 7.812 kB / 1.266 GB, free: 5.598 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.004e-05/1.288, allocations: 7.812 kB / 1.266 GB, free: 5.594 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003252/1.289, allocations: 106.7 kB / 1.266 GB, free: 5.543 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/1.289, allocations: 0 / 1.266 GB, free: 5.543 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.569e-05/1.289, allocations: 2.016 kB / 1.266 GB, free: 5.543 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.302e-05/1.289, allocations: 3.922 kB / 1.266 GB, free: 5.543 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003418/1.289, allocations: 87.19 kB / 1.266 GB, free: 5.527 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006152/1.29, allocations: 351.4 kB / 1.266 GB, free: 5.223 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003307/1.29, allocations: 95.53 kB / 1.267 GB, free: 5.18 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001915/1.29, allocations: 60.14 kB / 1.267 GB, free: 5.16 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.226e-05/1.29, allocations: 0.875 kB / 1.267 GB, free: 5.16 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003532/1.291, allocations: 117.5 kB / 1.267 GB, free: 5.094 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=9): time 1.864e-06/1.291, allocations: 0.8125 kB / 1.267 GB, free: 5.094 MB / 0.9981 GB Notification: Performance of matching and sorting (n=9): time 0.0007171/1.291, allocations: 216.4 kB / 1.267 GB, free: 5.016 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.968e-05/1.291, allocations: 54.42 kB / 1.267 GB, free: 4.953 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001168/1.292, allocations: 142.5 kB / 1.267 GB, free: 4.84 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.435e-05/1.292, allocations: 27.2 kB / 1.267 GB, free: 4.809 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 5.285e-05/1.292, allocations: 99.14 kB / 1.267 GB, free: 4.715 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.841e-05/1.292, allocations: 33.5 kB / 1.267 GB, free: 4.688 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.678e-05/1.292, allocations: 33.44 kB / 1.267 GB, free: 4.66 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.478e-05/1.292, allocations: 325.3 kB / 1.268 GB, free: 4.34 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002088/1.292, allocations: 52.41 kB / 1.268 GB, free: 4.332 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001904/1.292, allocations: 57.31 kB / 1.268 GB, free: 4.32 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003866/1.293, allocations: 154.9 kB / 1.268 GB, free: 4.246 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/1.293, allocations: 0.6562 kB / 1.268 GB, free: 4.246 MB / 0.9981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000495/1.293, allocations: 191.6 kB / 1.268 GB, free: 4.156 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.241e-05/1.293, allocations: 34.84 kB / 1.268 GB, free: 4.125 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.74e-06/1.293, allocations: 0 / 1.268 GB, free: 4.125 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.486e-05/1.293, allocations: 1.75 kB / 1.268 GB, free: 4.125 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001468/1.293, allocations: 26.3 kB / 1.268 GB, free: 4.117 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.593e-06/1.293, allocations: 0.75 kB / 1.268 GB, free: 4.117 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001404/1.293, allocations: 22.81 kB / 1.268 GB, free: 4.109 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.76e-05/1.294, allocations: 2.766 kB / 1.268 GB, free: 4.109 MB / 0.9981 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 7.899e-05/1.294, allocations: 123.1 kB / 1.268 GB, free: 3.988 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.973e-05/1.294, allocations: 11.98 kB / 1.268 GB, free: 3.98 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.593e-05/1.294, allocations: 12.88 kB / 1.268 GB, free: 3.965 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.442e-05/1.294, allocations: 3.688 kB / 1.268 GB, free: 3.965 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/1.294, allocations: 5.688 kB / 1.268 GB, free: 3.961 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/1.294, allocations: 0 / 1.268 GB, free: 3.961 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001511/1.294, allocations: 203.1 kB / 1.268 GB, free: 3.75 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/1.294, allocations: 0 / 1.268 GB, free: 3.75 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001127/1.294, allocations: 17.2 kB / 1.268 GB, free: 3.75 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.916e-06/1.294, allocations: 1.984 kB / 1.268 GB, free: 3.75 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.3e-05/1.294, allocations: 1.359 kB / 1.268 GB, free: 3.75 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.836e-06/1.294, allocations: 1.312 kB / 1.268 GB, free: 3.75 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/1.294, allocations: 0 / 1.268 GB, free: 3.75 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004466/1.294, allocations: 194.5 kB / 1.269 GB, free: 3.645 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.1e-05/1.295, allocations: 92.81 kB / 1.269 GB, free: 3.539 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.52e-05/1.295, allocations: 1.953 kB / 1.269 GB, free: 3.539 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001263/1.295, allocations: 13.23 kB / 1.269 GB, free: 3.539 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.545e-05/1.295, allocations: 14.31 kB / 1.269 GB, free: 3.535 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.224e-05/1.295, allocations: 7.328 kB / 1.269 GB, free: 3.531 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 5.946e-05/1.295, allocations: 105.1 kB / 1.269 GB, free: 3.449 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1e-07/1.295, allocations: 0 / 1.269 GB, free: 3.449 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002949/1.295, allocations: 40.5 kB / 1.269 GB, free: 3.441 MB / 0.9981 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.000164/1.295, allocations: 122.5 kB / 1.269 GB, free: 3.344 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0005123/1.296, allocations: 183.7 kB / 1.269 GB, free: 3.254 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/1.296, allocations: 0 / 1.269 GB, free: 3.254 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002145/1.296, allocations: 65.59 kB / 1.269 GB, free: 3.238 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002172/1.296, allocations: 21.42 kB / 1.269 GB, free: 3.227 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005856/1.297, allocations: 264.7 kB / 1.27 GB, free: 3.023 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001377/1.297, allocations: 0.702 MB / 1.27 GB, free: 2.324 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.115e-05/1.297, allocations: 14.69 kB / 1.27 GB, free: 2.32 MB / 0.9981 GB Notification: Performance of SimCode: time 2.2e-07/1.297, allocations: 0 / 1.27 GB, free: 2.32 MB / 0.9981 GB Notification: Performance of Templates: time 0.00368/1.301, allocations: 1.519 MB / 1.272 GB, free: 2.203 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Controls.Continuous.Examples.SignalRanker.makefile [Timeout 300] (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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.Continuous.Examples.SignalRanker.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.Continuous.Examples.SignalRanker_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_Continuous_Examples_SignalRanker.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.Continuous.Examples.SignalRanker.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 12.296074007172137]