Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.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.001287/0.001287, allocations: 108.8 kB / 18.93 MB, free: 2.945 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.00153/0.00153, allocations: 190.4 kB / 22.23 MB, free: 5.16 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.539/1.539, allocations: 225.6 MB / 251 MB, free: 13.01 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 3.356/3.356, allocations: 0.4893 GB / 0.7884 GB, free: 33.21 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-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.OBC.CDL.Routing.Validation.IntegerScalarReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|ram.y|reaToInt.y|intRep.y.1.|intRep.y.2.|intRep.y.3.",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|ram.y|reaToInt.y|intRep.y.1.|intRep.y.2.|intRep.y.3.",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001921/0.001921, allocations: 64.17 kB / 1.145 GB, free: 30.72 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4414/0.4434, allocations: 174.9 MB / 1.316 GB, free: 9.695 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator): time 0.003092/0.4465, allocations: 0.687 MB / 1.317 GB, free: 9.012 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001828/0.4483, allocations: 0.8355 MB / 1.317 GB, free: 8.164 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.149e-05/0.4484, allocations: 4 kB / 1.318 GB, free: 8.16 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001193/0.4485, allocations: 3.938 kB / 1.318 GB, free: 8.156 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 3.811e-05/0.4485, allocations: 3.938 kB / 1.318 GB, free: 8.152 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002294/0.4488, allocations: 11.98 kB / 1.318 GB, free: 8.141 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001497/0.4489, allocations: 39.91 kB / 1.318 GB, free: 8.102 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001412/0.449, allocations: 7.984 kB / 1.318 GB, free: 8.094 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 8.284e-05/0.4491, allocations: 19.94 kB / 1.318 GB, free: 8.074 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 7.918e-05/0.4492, allocations: 15.92 kB / 1.318 GB, free: 8.059 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.89e-05/0.4492, allocations: 4 kB / 1.318 GB, free: 8.055 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.411e-05/0.4492, allocations: 0 / 1.318 GB, free: 8.055 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 6.769e-05/0.4493, allocations: 15.97 kB / 1.318 GB, free: 8.039 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 5.248e-05/0.4494, allocations: 15.88 kB / 1.318 GB, free: 8.023 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001489/0.4495, allocations: 39.81 kB / 1.318 GB, free: 7.984 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.4495, allocations: 3.938 kB / 1.318 GB, free: 7.98 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.194e-06/0.4495, allocations: 0 / 1.318 GB, free: 7.98 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.271e-06/0.4495, allocations: 4 kB / 1.318 GB, free: 7.977 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006123/0.4501, allocations: 274.3 kB / 1.318 GB, free: 7.676 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.039e-05/0.4502, allocations: 8.031 kB / 1.318 GB, free: 7.668 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.25e-05/0.4502, allocations: 0.9375 kB / 1.318 GB, free: 7.668 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001898/0.4504, allocations: 118.5 kB / 1.318 GB, free: 7.527 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.391e-05/0.4505, allocations: 384 / 1.318 GB, free: 7.527 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.615e-05/0.4505, allocations: 4.375 kB / 1.318 GB, free: 7.523 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002806/0.4507, allocations: 74.2 kB / 1.318 GB, free: 7.445 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.708e-06/0.4508, allocations: 192 / 1.318 GB, free: 7.445 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.581e-05/0.4508, allocations: 3.938 kB / 1.318 GB, free: 7.441 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.4508, allocations: 0 / 1.318 GB, free: 7.441 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000271/0.451, allocations: 47.89 kB / 1.318 GB, free: 7.395 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004893/0.4515, allocations: 243.9 kB / 1.318 GB, free: 7.113 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001978/0.4517, allocations: 50.48 kB / 1.318 GB, free: 7.055 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001276/0.4519, allocations: 20.91 kB / 1.318 GB, free: 7.031 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 2.017e-05/0.4519, allocations: 0 / 1.318 GB, free: 7.031 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.416e-05/0.4519, allocations: 34.56 kB / 1.319 GB, free: 6.988 MB / 1.014 GB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.4519, allocations: 3.938 kB / 1.319 GB, free: 6.984 MB / 1.014 GB Notification: Performance of matching and sorting (n=2): time 0.000509/0.4524, allocations: 93.58 kB / 1.319 GB, free: 6.887 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.621e-05/0.4525, allocations: 55.41 kB / 1.319 GB, free: 6.82 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001367/0.4526, allocations: 105.8 kB / 1.319 GB, free: 6.707 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.294e-05/0.4526, allocations: 25.7 kB / 1.319 GB, free: 6.676 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 7.528e-05/0.4527, allocations: 88.09 kB / 1.319 GB, free: 6.586 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 1.654e-05/0.4527, allocations: 0 / 1.319 GB, free: 6.586 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.823e-05/0.4528, allocations: 21.78 kB / 1.319 GB, free: 6.559 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0003171/0.4531, allocations: 322.8 kB / 1.319 GB, free: 6.234 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000144/0.4533, allocations: 19.98 kB / 1.319 GB, free: 6.215 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001101/0.4534, allocations: 15.98 kB / 1.319 GB, free: 6.199 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002319/0.4536, allocations: 40.81 kB / 1.319 GB, free: 6.156 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.4536, allocations: 64 / 1.319 GB, free: 6.156 MB / 1.014 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003091/0.4539, allocations: 77.61 kB / 1.319 GB, free: 6.074 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.849e-05/0.4539, allocations: 4 kB / 1.319 GB, free: 6.07 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.4539, allocations: 0 / 1.319 GB, free: 6.07 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.637e-05/0.454, allocations: 0 / 1.319 GB, free: 6.07 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001331/0.4541, allocations: 11.98 kB / 1.319 GB, free: 6.059 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/0.4541, allocations: 3.938 kB / 1.319 GB, free: 6.055 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.839e-05/0.4542, allocations: 15.97 kB / 1.319 GB, free: 6.039 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.251e-06/0.4542, allocations: 4.031 kB / 1.319 GB, free: 6.035 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (intRep.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * 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.0002309/0.4544, allocations: 114.7 kB / 1.32 GB, free: 5.914 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.395e-05/0.4545, allocations: 0 / 1.32 GB, free: 5.914 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.183e-05/0.4545, allocations: 11.25 kB / 1.32 GB, free: 5.898 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.4545, allocations: 0 / 1.32 GB, free: 5.898 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.526e-05/0.4545, allocations: 7.984 kB / 1.32 GB, free: 5.891 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.4545, allocations: 0 / 1.32 GB, free: 5.891 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003415/0.4549, allocations: 140.9 kB / 1.32 GB, free: 5.711 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.848e-06/0.4549, allocations: 4 kB / 1.32 GB, free: 5.707 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.703e-05/0.455, allocations: 8 kB / 1.32 GB, free: 5.699 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.032e-06/0.455, allocations: 4 kB / 1.32 GB, free: 5.695 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.318e-05/0.455, allocations: 3.984 kB / 1.32 GB, free: 5.691 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.295e-06/0.455, allocations: 0 / 1.32 GB, free: 5.691 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.455, allocations: 0 / 1.32 GB, free: 5.691 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004646/0.4554, allocations: 167.4 kB / 1.32 GB, free: 5.512 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 1.85e-05/0.4555, allocations: 15.98 kB / 1.32 GB, free: 5.496 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.69e-05/0.4555, allocations: 0 / 1.32 GB, free: 5.496 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001213/0.4556, allocations: 7.984 kB / 1.32 GB, free: 5.488 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.647e-05/0.4556, allocations: 0 / 1.32 GB, free: 5.488 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.167e-05/0.4557, allocations: 7.984 kB / 1.32 GB, free: 5.48 MB / 1.014 GB Notification: Performance of sorting global known variables: time 6.685e-05/0.4557, allocations: 83.28 kB / 1.32 GB, free: 5.398 MB / 1.014 GB Notification: Performance of sort global known variables: time 1e-07/0.4557, allocations: 0 / 1.32 GB, free: 5.398 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0003846/0.4561, allocations: 4 kB / 1.32 GB, free: 5.395 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (intRep.y[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0001588/0.4563, allocations: 99.78 kB / 1.32 GB, free: 5.285 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0003125/0.4566, allocations: 47.89 kB / 1.32 GB, free: 5.238 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.4566, allocations: 0 / 1.32 GB, free: 5.238 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001332/0.4567, allocations: 19.97 kB / 1.32 GB, free: 5.219 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003416/0.4571, allocations: 11.94 kB / 1.32 GB, free: 5.207 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004146/0.4575, allocations: 121.6 kB / 1.32 GB, free: 5.062 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003863/0.4579, allocations: 0.6807 MB / 1.321 GB, free: 4.355 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 4.685e-05/0.4579, allocations: 7.984 kB / 1.321 GB, free: 4.348 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.693e-05/0.4579, allocations: 7.438 kB / 1.321 GB, free: 4.34 MB / 1.014 GB Notification: Performance of SimCode: time 4.3e-07/0.4579, allocations: 0 / 1.321 GB, free: 4.34 MB / 1.014 GB Notification: Performance of Templates: time 0.004024/0.462, allocations: 0.6342 MB / 1.322 GB, free: 3.711 MB / 1.014 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Routing_Validation_IntegerScalarReplicator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.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.58184302225709]