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.001395/0.001395, allocations: 79.73 kB / 19.76 MB, free: 1.871 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.00153/0.00153, allocations: 158.5 kB / 23.01 MB, free: 4.598 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.504/1.504, allocations: 177.2 MB / 203.4 MB, free: 8.996 MB / 190.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 2.745/2.745, allocations: 377.9 MB / 0.6228 GB, free: 12.57 MB / 0.5919 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.002141/0.002141, allocations: 67.89 kB / 0.9819 GB, free: 12.22 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8408/0.8429, allocations: 176.1 MB / 1.154 GB, free: 33.33 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.SignalRanker): time 0.002252/0.8452, allocations: 1.554 MB / 1.155 GB, free: 32.26 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.0008882/0.8461, allocations: 0.6088 MB / 1.156 GB, free: 31.86 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.229e-05/0.8461, allocations: 2.875 kB / 1.156 GB, free: 31.86 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 9.684e-05/0.8462, allocations: 11.88 kB / 1.156 GB, free: 31.85 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 4.989e-05/0.8463, allocations: 21.78 kB / 1.156 GB, free: 31.84 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004073/0.8467, allocations: 109.4 kB / 1.156 GB, free: 31.79 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0001368/0.8468, allocations: 100.5 kB / 1.156 GB, free: 31.74 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 9.453e-05/0.8469, allocations: 12.66 kB / 1.156 GB, free: 31.73 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001521/0.8471, allocations: 57.38 kB / 1.156 GB, free: 31.7 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 7.613e-05/0.8472, allocations: 33.7 kB / 1.156 GB, free: 31.69 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 2.209e-05/0.8472, allocations: 8.875 kB / 1.156 GB, free: 31.69 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001353/0.8473, allocations: 99.91 kB / 1.156 GB, free: 31.66 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 4.861e-05/0.8474, allocations: 24.67 kB / 1.156 GB, free: 31.65 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 5.077e-05/0.8474, allocations: 32.31 kB / 1.156 GB, free: 31.63 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0001955/0.8476, allocations: 148.8 kB / 1.157 GB, free: 31.58 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.8476, allocations: 0 / 1.157 GB, free: 31.58 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.633e-06/0.8476, allocations: 3.938 kB / 1.157 GB, free: 31.57 MB / 1.076 GB Notification: Performance of Transformations before backend: time 5.38e-06/0.8476, allocations: 2.562 kB / 1.157 GB, free: 31.57 MB / 1.076 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.0007061/0.8483, allocations: 379.4 kB / 1.157 GB, free: 31.24 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.32e-05/0.8484, allocations: 8.719 kB / 1.157 GB, free: 31.24 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002767/0.8486, allocations: 34.86 kB / 1.157 GB, free: 31.23 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002053/0.8488, allocations: 139.9 kB / 1.157 GB, free: 31.09 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.325e-05/0.8489, allocations: 2.875 kB / 1.157 GB, free: 31.09 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.551e-05/0.8489, allocations: 2.938 kB / 1.157 GB, free: 31.09 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002871/0.8492, allocations: 112.1 kB / 1.157 GB, free: 31.03 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/0.8492, allocations: 7.406 kB / 1.157 GB, free: 31.03 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.401e-05/0.8492, allocations: 0 / 1.157 GB, free: 31.03 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.982e-05/0.8492, allocations: 5.938 kB / 1.157 GB, free: 31.03 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000307/0.8495, allocations: 88.97 kB / 1.157 GB, free: 31.01 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005336/0.85, allocations: 283.5 kB / 1.158 GB, free: 30.78 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002908/0.8503, allocations: 91.02 kB / 1.158 GB, free: 30.74 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001626/0.8505, allocations: 62.05 kB / 1.158 GB, free: 30.71 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.529e-05/0.8505, allocations: 0 / 1.158 GB, free: 30.71 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002653/0.8508, allocations: 119.8 kB / 1.158 GB, free: 30.65 MB / 1.076 GB Notification: Performance of pre-optimization done (n=9): time 1.382e-06/0.8508, allocations: 2.625 kB / 1.158 GB, free: 30.65 MB / 1.076 GB Notification: Performance of matching and sorting (n=9): time 0.0006331/0.8514, allocations: 206.5 kB / 1.158 GB, free: 30.58 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.277e-05/0.8514, allocations: 58.25 kB / 1.158 GB, free: 30.51 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.712e-05/0.8515, allocations: 140.1 kB / 1.158 GB, free: 30.4 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.409e-05/0.8515, allocations: 25.7 kB / 1.158 GB, free: 30.37 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 4.811e-05/0.8516, allocations: 104.9 kB / 1.158 GB, free: 30.27 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.19e-05/0.8516, allocations: 29.97 kB / 1.158 GB, free: 30.25 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.988e-05/0.8517, allocations: 25.33 kB / 1.158 GB, free: 30.23 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 5.425e-05/0.8517, allocations: 325 kB / 1.159 GB, free: 29.91 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002088/0.8519, allocations: 84.7 kB / 1.159 GB, free: 29.87 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001742/0.8521, allocations: 93.95 kB / 1.159 GB, free: 29.82 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003283/0.8524, allocations: 142.6 kB / 1.159 GB, free: 29.75 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.8524, allocations: 0 / 1.159 GB, free: 29.75 MB / 1.076 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004338/0.8529, allocations: 236.3 kB / 1.159 GB, free: 29.62 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.952e-05/0.8529, allocations: 35.52 kB / 1.159 GB, free: 29.58 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-06/0.8529, allocations: 0 / 1.159 GB, free: 29.58 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.723e-05/0.8529, allocations: 0 / 1.159 GB, free: 29.58 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000144/0.8531, allocations: 25.45 kB / 1.159 GB, free: 29.58 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.8531, allocations: 0 / 1.159 GB, free: 29.58 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001331/0.8532, allocations: 15.11 kB / 1.159 GB, free: 29.58 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.62e-05/0.8532, allocations: 6.969 kB / 1.159 GB, free: 29.57 MB / 1.076 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.412e-05/0.8533, allocations: 123.1 kB / 1.16 GB, free: 29.45 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.99e-05/0.8533, allocations: 17.5 kB / 1.16 GB, free: 29.44 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.482e-05/0.8533, allocations: 11.47 kB / 1.16 GB, free: 29.43 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.218e-05/0.8534, allocations: 6.078 kB / 1.16 GB, free: 29.43 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.8534, allocations: 0 / 1.16 GB, free: 29.43 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.8534, allocations: 0 / 1.16 GB, free: 29.43 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001097/0.8535, allocations: 142.4 kB / 1.16 GB, free: 29.29 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.8535, allocations: 480 / 1.16 GB, free: 29.29 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001112/0.8536, allocations: 17.77 kB / 1.16 GB, free: 29.29 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.724e-06/0.8536, allocations: 0 / 1.16 GB, free: 29.29 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.076e-05/0.8536, allocations: 0 / 1.16 GB, free: 29.29 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.8536, allocations: 2.906 kB / 1.16 GB, free: 29.29 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.8536, allocations: 11.88 kB / 1.16 GB, free: 29.28 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004077/0.854, allocations: 178 kB / 1.16 GB, free: 29.19 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 2.156e-05/0.854, allocations: 18.94 kB / 1.16 GB, free: 29.17 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.181e-05/0.8541, allocations: 2.719 kB / 1.16 GB, free: 29.17 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000121/0.8542, allocations: 15 kB / 1.16 GB, free: 29.17 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.729e-05/0.8542, allocations: 14.47 kB / 1.16 GB, free: 29.17 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.947e-06/0.8542, allocations: 6.906 kB / 1.16 GB, free: 29.16 MB / 1.076 GB Notification: Performance of sorting global known variables: time 5.765e-05/0.8543, allocations: 110.7 kB / 1.16 GB, free: 29.08 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/0.8543, allocations: 3.938 kB / 1.16 GB, free: 29.07 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0002782/0.8546, allocations: 37.19 kB / 1.16 GB, free: 29.07 MB / 1.076 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.0001593/0.8547, allocations: 122 kB / 1.16 GB, free: 28.97 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0004673/0.8552, allocations: 205 kB / 1.16 GB, free: 28.86 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.8552, allocations: 4 kB / 1.16 GB, free: 28.85 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001902/0.8554, allocations: 58.56 kB / 1.16 GB, free: 28.84 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002378/0.8556, allocations: 16.53 kB / 1.16 GB, free: 28.83 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004758/0.8561, allocations: 226.1 kB / 1.161 GB, free: 28.68 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.194e-05/0.8562, allocations: 98.27 kB / 1.161 GB, free: 28.59 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 6.024e-05/0.8562, allocations: 12.53 kB / 1.161 GB, free: 28.59 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.782e-05/0.8563, allocations: 18.47 kB / 1.161 GB, free: 28.58 MB / 1.076 GB Notification: Performance of SimCode: time 2.81e-07/0.8563, allocations: 0 / 1.161 GB, free: 28.58 MB / 1.076 GB Notification: Performance of Templates: time 0.003999/0.8603, allocations: 1.487 MB / 1.162 GB, free: 28.42 MB / 1.076 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 -s ida -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/jenkins1/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: 8.763002448016778]