Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.Continuous.Examples.SignalRanker.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001842/0.001842, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002729/0.002729, allocations: 212.3 kB / 22.25 MB, free: 4.859 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.601/1.601, allocations: 230.6 MB / 256 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.417/3.417, allocations: 0.4892 GB / 0.7943 GB, free: 35.45 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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_12_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_12_Buildings.Controls.Continuous.Examples.SignalRanker") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002182/0.002182, allocations: 71.34 kB / 1.154 GB, free: 25.55 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4969/0.4991, allocations: 176.1 MB / 1.325 GB, free: 1.941 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.SignalRanker): time 0.003384/0.5025, allocations: 1.559 MB / 1.327 GB, free: 384 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001359/0.5038, allocations: 0.6078 MB / 1.328 GB, free: 15.76 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.269e-05/0.5039, allocations: 3.938 kB / 1.328 GB, free: 15.76 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001245/0.5041, allocations: 11.92 kB / 1.328 GB, free: 15.75 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 6.563e-05/0.5041, allocations: 11.81 kB / 1.328 GB, free: 15.73 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005118/0.5046, allocations: 107.7 kB / 1.328 GB, free: 15.63 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001856/0.5048, allocations: 103.7 kB / 1.328 GB, free: 15.53 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001123/0.5049, allocations: 8.234 kB / 1.328 GB, free: 15.52 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001885/0.5051, allocations: 59.78 kB / 1.328 GB, free: 15.46 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 9.708e-05/0.5052, allocations: 43.81 kB / 1.328 GB, free: 15.41 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.58e-05/0.5052, allocations: 8 kB / 1.328 GB, free: 15.41 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000179/0.5054, allocations: 87.91 kB / 1.328 GB, free: 15.32 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 5.024e-05/0.5055, allocations: 19.92 kB / 1.328 GB, free: 15.3 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 7.16e-05/0.5055, allocations: 39.78 kB / 1.328 GB, free: 15.26 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002845/0.5058, allocations: 151.4 kB / 1.328 GB, free: 15.11 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.5058, allocations: 0 / 1.328 GB, free: 15.11 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.203e-06/0.5058, allocations: 0 / 1.328 GB, free: 15.11 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.075e-05/0.5058, allocations: 0 / 1.328 GB, free: 15.11 MB / 1.029 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.0008247/0.5067, allocations: 395.3 kB / 1.329 GB, free: 14.69 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.162e-05/0.5067, allocations: 8.031 kB / 1.329 GB, free: 14.68 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003047/0.507, allocations: 32.86 kB / 1.329 GB, free: 14.65 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00031/0.5073, allocations: 143.4 kB / 1.329 GB, free: 14.49 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.588e-05/0.5073, allocations: 4.312 kB / 1.329 GB, free: 14.48 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.272e-05/0.5074, allocations: 4.375 kB / 1.329 GB, free: 14.48 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003429/0.5077, allocations: 113.9 kB / 1.329 GB, free: 14.36 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/0.5077, allocations: 0 / 1.329 GB, free: 14.36 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.392e-05/0.5077, allocations: 0 / 1.329 GB, free: 14.36 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.04e-05/0.5078, allocations: 4 kB / 1.329 GB, free: 14.36 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003335/0.5081, allocations: 87.91 kB / 1.329 GB, free: 14.27 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006902/0.5088, allocations: 280.3 kB / 1.329 GB, free: 13.97 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000333/0.5091, allocations: 86.52 kB / 1.329 GB, free: 13.88 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001835/0.5093, allocations: 60.86 kB / 1.329 GB, free: 13.81 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.934e-05/0.5093, allocations: 0 / 1.329 GB, free: 13.81 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003171/0.5096, allocations: 123.3 kB / 1.33 GB, free: 13.68 MB / 1.029 GB Notification: Performance of pre-optimization done (n=9): time 3.787e-06/0.5096, allocations: 4 kB / 1.33 GB, free: 13.68 MB / 1.029 GB Notification: Performance of matching and sorting (n=9): time 0.000676/0.5103, allocations: 201.5 kB / 1.33 GB, free: 13.47 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.89e-05/0.5104, allocations: 55.34 kB / 1.33 GB, free: 13.41 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001397/0.5105, allocations: 143.7 kB / 1.33 GB, free: 13.26 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.8e-05/0.5105, allocations: 29.7 kB / 1.33 GB, free: 13.22 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.749e-05/0.5106, allocations: 108 kB / 1.33 GB, free: 13.11 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.323e-05/0.5107, allocations: 19.86 kB / 1.33 GB, free: 13.09 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.927e-05/0.5107, allocations: 29.7 kB / 1.33 GB, free: 13.06 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001567/0.5109, allocations: 322.9 kB / 1.33 GB, free: 12.73 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002233/0.5111, allocations: 89.59 kB / 1.33 GB, free: 12.64 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001933/0.5113, allocations: 81.94 kB / 1.331 GB, free: 12.55 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003741/0.5117, allocations: 150.5 kB / 1.331 GB, free: 12.4 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.5117, allocations: 96 / 1.331 GB, free: 12.4 MB / 1.029 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0005102/0.5122, allocations: 240.8 kB / 1.331 GB, free: 12.14 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.123e-05/0.5122, allocations: 37.69 kB / 1.331 GB, free: 12.1 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-06/0.5122, allocations: 0 / 1.331 GB, free: 12.1 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/0.5123, allocations: 0 / 1.331 GB, free: 12.1 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001418/0.5124, allocations: 15.98 kB / 1.331 GB, free: 12.09 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.129e-06/0.5124, allocations: 4 kB / 1.331 GB, free: 12.08 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001395/0.5125, allocations: 23.91 kB / 1.331 GB, free: 12.06 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.119e-05/0.5126, allocations: 11.94 kB / 1.331 GB, free: 12.05 MB / 1.029 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.0001154/0.5127, allocations: 117 kB / 1.331 GB, free: 11.93 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.516e-05/0.5127, allocations: 11.91 kB / 1.331 GB, free: 11.91 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.542e-05/0.5127, allocations: 20.64 kB / 1.331 GB, free: 11.89 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.472e-05/0.5128, allocations: 4 kB / 1.331 GB, free: 11.88 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.5128, allocations: 3.938 kB / 1.331 GB, free: 11.88 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.5128, allocations: 0 / 1.331 GB, free: 11.88 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001708/0.5129, allocations: 141.2 kB / 1.331 GB, free: 11.71 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.566e-06/0.5129, allocations: 4 kB / 1.331 GB, free: 11.71 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001099/0.5131, allocations: 15.98 kB / 1.331 GB, free: 11.69 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.5131, allocations: 0 / 1.331 GB, free: 11.69 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.567e-05/0.5131, allocations: 4 kB / 1.331 GB, free: 11.69 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.5131, allocations: 0 / 1.331 GB, free: 11.69 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.779e-06/0.5131, allocations: 3.984 kB / 1.331 GB, free: 11.68 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000482/0.5136, allocations: 192.8 kB / 1.332 GB, free: 11.48 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.353e-05/0.5136, allocations: 11.91 kB / 1.332 GB, free: 11.46 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.404e-05/0.5136, allocations: 0 / 1.332 GB, free: 11.46 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001202/0.5137, allocations: 15.98 kB / 1.332 GB, free: 11.45 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.313e-05/0.5138, allocations: 15.97 kB / 1.332 GB, free: 11.43 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.528e-06/0.5138, allocations: 0 / 1.332 GB, free: 11.43 MB / 1.029 GB Notification: Performance of sorting global known variables: time 9.467e-05/0.5139, allocations: 113.2 kB / 1.332 GB, free: 11.32 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.5139, allocations: 0 / 1.332 GB, free: 11.32 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002582/0.5142, allocations: 43.94 kB / 1.332 GB, free: 11.28 MB / 1.029 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.0001818/0.5143, allocations: 115.2 kB / 1.332 GB, free: 11.16 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0005567/0.5149, allocations: 217 kB / 1.332 GB, free: 10.93 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.5149, allocations: 0 / 1.332 GB, free: 10.93 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002009/0.5151, allocations: 55.95 kB / 1.332 GB, free: 10.88 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002239/0.5153, allocations: 14.23 kB / 1.332 GB, free: 10.86 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005717/0.5159, allocations: 229.6 kB / 1.332 GB, free: 10.61 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.509e-05/0.516, allocations: 85.31 kB / 1.332 GB, free: 10.51 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 7.402e-05/0.516, allocations: 11.98 kB / 1.332 GB, free: 10.5 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.763e-05/0.5161, allocations: 27.41 kB / 1.332 GB, free: 10.47 MB / 1.029 GB Notification: Performance of SimCode: time 3.71e-07/0.5161, allocations: 0 / 1.332 GB, free: 10.47 MB / 1.029 GB Notification: Performance of Templates: time 0.004939/0.521, allocations: 1.546 MB / 1.334 GB, free: 8.945 MB / 1.029 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Controls.Continuous.Examples.SignalRanker.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.Continuous.Examples.SignalRanker.pipe ; mkfifo Buildings_12_Buildings.Controls.Continuous.Examples.SignalRanker.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.Continuous.Examples.SignalRanker.pipe >> ../files/Buildings_12_Buildings.Controls.Continuous.Examples.SignalRanker.sim & ./Buildings_12_Buildings.Controls.Continuous.Examples.SignalRanker -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.Continuous.Examples.SignalRanker.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.Continuous.Examples.SignalRanker_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_Continuous_Examples_SignalRanker.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 9.679936910048127]