Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.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.001816/0.001816, allocations: 95.92 kB / 19.7 MB, free: 2.129 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.002175/0.002175, allocations: 210.5 kB / 23 MB, free: 4.934 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.614/1.614, allocations: 230.6 MB / 256.8 MB, free: 7.789 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.486/3.486, allocations: 0.49 GB / 0.7959 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.OBC.CDL.Routing.Validation.IntegerExtractSignal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|extIntSig.u.1.|extIntSig.u.2.|extIntSig.u.3.|extIntSig.u.4.|extIntSig.y.1.|extIntSig.y.2.|extIntSig.y.3.|extIntSig1.y.1.|extIntSig1.y.2.|extIntSig1.y.3.|extIntSig1.y.4.|extIntSig1.y.5.",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|extIntSig.u.1.|extIntSig.u.2.|extIntSig.u.3.|extIntSig.u.4.|extIntSig.y.1.|extIntSig.y.2.|extIntSig.y.3.|extIntSig1.y.1.|extIntSig1.y.2.|extIntSig1.y.3.|extIntSig1.y.4.|extIntSig1.y.5.",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal") [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.002144/0.002144, allocations: 66.8 kB / 1.155 GB, free: 25.23 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4571/0.4592, allocations: 176.1 MB / 1.327 GB, free: 1.012 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal): time 0.002802/0.462, allocations: 0.857 MB / 1.328 GB, free: 164 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002347/0.4643, allocations: 1.307 MB / 1.329 GB, free: 14.84 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.423e-05/0.4644, allocations: 4 kB / 1.329 GB, free: 14.84 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001477/0.4646, allocations: 15.8 kB / 1.329 GB, free: 14.82 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 9.759e-05/0.4647, allocations: 35.72 kB / 1.329 GB, free: 14.79 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008299/0.4655, allocations: 265.5 kB / 1.33 GB, free: 14.53 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.000431/0.4659, allocations: 331.4 kB / 1.33 GB, free: 14.21 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001729/0.4661, allocations: 41.59 kB / 1.33 GB, free: 14.16 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000191/0.4663, allocations: 135.7 kB / 1.33 GB, free: 14.03 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002125/0.4665, allocations: 111.6 kB / 1.33 GB, free: 13.92 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 5.517e-05/0.4666, allocations: 31.94 kB / 1.33 GB, free: 13.89 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001231/0.4667, allocations: 47.98 kB / 1.33 GB, free: 13.84 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 8.655e-05/0.4668, allocations: 43.86 kB / 1.33 GB, free: 13.8 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001487/0.4669, allocations: 103.6 kB / 1.33 GB, free: 13.7 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004621/0.4674, allocations: 346.7 kB / 1.331 GB, free: 13.36 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.4674, allocations: 0 / 1.331 GB, free: 13.36 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.653e-06/0.4674, allocations: 4 kB / 1.331 GB, free: 13.35 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.713e-06/0.4674, allocations: 0 / 1.331 GB, free: 13.35 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: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0008709/0.4683, allocations: 492.7 kB / 1.331 GB, free: 12.82 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.9e-05/0.4683, allocations: 8.031 kB / 1.331 GB, free: 12.82 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003871/0.4687, allocations: 60.78 kB / 1.331 GB, free: 12.76 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006463/0.4694, allocations: 234.6 kB / 1.331 GB, free: 12.5 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.948e-05/0.4694, allocations: 12.38 kB / 1.331 GB, free: 12.49 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.797e-05/0.4694, allocations: 24.31 kB / 1.331 GB, free: 12.47 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002818/0.4697, allocations: 153.5 kB / 1.332 GB, free: 12.3 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.267e-05/0.4697, allocations: 3.938 kB / 1.332 GB, free: 12.3 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.061e-05/0.4697, allocations: 7.984 kB / 1.332 GB, free: 12.29 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.217e-06/0.4698, allocations: 4 kB / 1.332 GB, free: 12.29 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001281/0.4699, allocations: 67.91 kB / 1.332 GB, free: 12.22 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008521/0.4707, allocations: 0.6374 MB / 1.332 GB, free: 11.54 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001158/0.4709, allocations: 65.08 kB / 1.332 GB, free: 11.46 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.296e-05/0.4709, allocations: 21.72 kB / 1.332 GB, free: 11.43 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.616e-05/0.4709, allocations: 4 kB / 1.332 GB, free: 11.43 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002682/0.4712, allocations: 97.08 kB / 1.332 GB, free: 11.31 MB / 1.029 GB Notification: Performance of pre-optimization done (n=8): time 1.303e-06/0.4712, allocations: 0 / 1.332 GB, free: 11.31 MB / 1.029 GB Notification: Performance of matching and sorting (n=8): time 0.0003331/0.4715, allocations: 137.8 kB / 1.333 GB, free: 11.17 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.079e-05/0.4716, allocations: 77.11 kB / 1.333 GB, free: 11.08 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002219/0.4718, allocations: 211.7 kB / 1.333 GB, free: 10.86 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.935e-05/0.4718, allocations: 33.7 kB / 1.333 GB, free: 10.82 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001371/0.472, allocations: 144.3 kB / 1.333 GB, free: 10.68 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.934e-05/0.472, allocations: 15.84 kB / 1.333 GB, free: 10.66 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001274/0.4721, allocations: 81.56 kB / 1.333 GB, free: 10.57 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001658/0.4723, allocations: 322.8 kB / 1.333 GB, free: 10.25 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002005/0.4725, allocations: 131.4 kB / 1.334 GB, free: 10.11 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002887/0.4728, allocations: 247.3 kB / 1.334 GB, free: 9.812 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002678/0.473, allocations: 190.1 kB / 1.334 GB, free: 9.59 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.473, allocations: 0 / 1.334 GB, free: 9.59 MB / 1.029 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005804/0.4736, allocations: 376.1 kB / 1.334 GB, free: 9.191 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 7.421e-05/0.4737, allocations: 63.39 kB / 1.334 GB, free: 9.117 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.4737, allocations: 7.938 kB / 1.334 GB, free: 9.109 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.769e-05/0.4737, allocations: 4 kB / 1.334 GB, free: 9.105 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.594e-05/0.4738, allocations: 8 kB / 1.334 GB, free: 9.098 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.42e-05/0.4738, allocations: 4 kB / 1.334 GB, free: 9.094 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003238/0.4741, allocations: 52.12 kB / 1.334 GB, free: 9.043 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.625e-05/0.4742, allocations: 15.98 kB / 1.334 GB, free: 9.027 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition3,$whenCondition4,intPul.booPul.y,$PRE.intPul.booPul.y,extIntSig1.y[4],$whenCondition1,$whenCondition2,intPul1.booPul.y,$PRE.intPul1.booPul.y,extIntSig1.y[5],conInt3.y,conInt2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 2 * 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.0001833/0.4743, allocations: 152.4 kB / 1.335 GB, free: 8.871 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.265e-05/0.4744, allocations: 23.8 kB / 1.335 GB, free: 8.848 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.859e-05/0.4744, allocations: 21.02 kB / 1.335 GB, free: 8.824 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.4744, allocations: 0 / 1.335 GB, free: 8.824 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.4744, allocations: 0 / 1.335 GB, free: 8.824 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.636e-05/0.4745, allocations: 15.91 kB / 1.335 GB, free: 8.809 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.112e-05/0.4745, allocations: 4 kB / 1.335 GB, free: 8.805 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.393e-05/0.4745, allocations: 11.86 kB / 1.335 GB, free: 8.793 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.104e-05/0.4746, allocations: 11.94 kB / 1.335 GB, free: 8.781 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002465/0.4748, allocations: 248.1 kB / 1.335 GB, free: 8.531 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00028/0.4751, allocations: 350 kB / 1.335 GB, free: 8.172 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.007e-05/0.4751, allocations: 27.92 kB / 1.335 GB, free: 8.145 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001285/0.4753, allocations: 137.5 kB / 1.335 GB, free: 8.012 MB / 1.029 GB Notification: Performance of Backend: time 3.61e-07/0.4753, allocations: 4 kB / 1.335 GB, free: 8.008 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0008141/0.4761, allocations: 360.5 kB / 1.336 GB, free: 7.609 MB / 1.029 GB Notification: Performance of SimCode: time 0.0008973/0.477, allocations: 0.767 MB / 1.337 GB, free: 6.793 MB / 1.029 GB Notification: Performance of Templates: time 0.007199/0.4842, allocations: 2.964 MB / 1.339 GB, free: 3.902 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Routing_Validation_IntegerExtractSignal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.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.705000369998743]