Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.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.001739/0.001739, allocations: 97.11 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.00231/0.00231, allocations: 210.9 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.565/1.565, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.443/3.443, 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.Integers.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pul.y|pul1.y|pul2.y|pul3.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse") translateModel(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pul.y|pul1.y|pul2.y|pul3.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse") [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.002031/0.002031, allocations: 73.8 kB / 1.155 GB, free: 25.29 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4134/0.4154, allocations: 176.1 MB / 1.327 GB, free: 0.9922 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.003105/0.4185, allocations: 0.9235 MB / 1.328 GB, free: 76 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002443/0.4209, allocations: 1.451 MB / 1.329 GB, free: 14.61 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.195e-05/0.421, allocations: 0 / 1.329 GB, free: 14.61 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 4.913e-05/0.4211, allocations: 19.8 kB / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001877/0.4213, allocations: 67.5 kB / 1.329 GB, free: 14.52 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001075/0.4223, allocations: 440.5 kB / 1.33 GB, free: 14.11 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0005511/0.4229, allocations: 0.4911 MB / 1.33 GB, free: 13.61 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001014/0.423, allocations: 33.94 kB / 1.33 GB, free: 13.58 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002129/0.4232, allocations: 187.6 kB / 1.331 GB, free: 13.39 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002328/0.4234, allocations: 159.5 kB / 1.331 GB, free: 13.24 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 8.951e-05/0.4235, allocations: 48 kB / 1.331 GB, free: 13.19 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001173/0.4236, allocations: 63.98 kB / 1.331 GB, free: 13.13 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 4.625e-05/0.4237, allocations: 43.78 kB / 1.331 GB, free: 13.09 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001848/0.4239, allocations: 147.6 kB / 1.331 GB, free: 12.94 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005404/0.4244, allocations: 0.4906 MB / 1.332 GB, free: 12.45 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.4244, allocations: 0 / 1.332 GB, free: 12.45 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.354e-06/0.4244, allocations: 0 / 1.332 GB, free: 12.45 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.853e-06/0.4244, allocations: 0 / 1.332 GB, free: 12.45 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0008777/0.4253, allocations: 0.5702 MB / 1.332 GB, free: 11.82 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.136e-05/0.4253, allocations: 8.031 kB / 1.332 GB, free: 11.81 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.898e-05/0.4254, allocations: 32.84 kB / 1.332 GB, free: 11.78 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001815/0.4256, allocations: 165.3 kB / 1.332 GB, free: 11.59 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.071e-05/0.4257, allocations: 20.3 kB / 1.332 GB, free: 11.57 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.881e-05/0.4257, allocations: 20.38 kB / 1.332 GB, free: 11.55 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000215/0.4259, allocations: 125.6 kB / 1.332 GB, free: 11.41 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.338e-06/0.4259, allocations: 192 / 1.332 GB, free: 11.41 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.641e-05/0.426, allocations: 3.938 kB / 1.332 GB, free: 11.41 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-06/0.426, allocations: 4 kB / 1.332 GB, free: 11.41 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001281/0.4261, allocations: 55.91 kB / 1.333 GB, free: 11.35 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009651/0.4271, allocations: 0.731 MB / 1.333 GB, free: 10.58 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001717/0.4272, allocations: 110.4 kB / 1.333 GB, free: 10.43 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.953e-05/0.4273, allocations: 55.42 kB / 1.333 GB, free: 10.37 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.352e-05/0.4273, allocations: 4 kB / 1.333 GB, free: 10.36 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003195/0.4276, allocations: 166.7 kB / 1.334 GB, free: 10.18 MB / 1.029 GB Notification: Performance of pre-optimization done (n=16): time 1.743e-06/0.4276, allocations: 4 kB / 1.334 GB, free: 10.17 MB / 1.029 GB Notification: Performance of matching and sorting (n=16): time 0.0004796/0.4281, allocations: 238 kB / 1.334 GB, free: 9.934 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.994e-05/0.4282, allocations: 136.5 kB / 1.334 GB, free: 9.77 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002655/0.4285, allocations: 240.8 kB / 1.334 GB, free: 9.52 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 6.598e-05/0.4285, allocations: 33.7 kB / 1.334 GB, free: 9.48 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001309/0.4287, allocations: 140.4 kB / 1.334 GB, free: 9.336 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.732e-05/0.4287, allocations: 31.75 kB / 1.334 GB, free: 9.305 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001925/0.4289, allocations: 93.64 kB / 1.334 GB, free: 9.207 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001667/0.4291, allocations: 334.8 kB / 1.335 GB, free: 8.871 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003916/0.4294, allocations: 275 kB / 1.335 GB, free: 8.574 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004357/0.4299, allocations: 346.2 kB / 1.335 GB, free: 8.176 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004817/0.4304, allocations: 384.8 kB / 1.336 GB, free: 7.738 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.4304, allocations: 0 / 1.336 GB, free: 7.738 MB / 1.029 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001118/0.4315, allocations: 0.6903 MB / 1.336 GB, free: 6.992 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001028/0.4316, allocations: 134.8 kB / 1.336 GB, free: 6.836 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/0.4316, allocations: 4 kB / 1.336 GB, free: 6.832 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.906e-05/0.4316, allocations: 8 kB / 1.337 GB, free: 6.824 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.865e-05/0.4317, allocations: 11.94 kB / 1.337 GB, free: 6.812 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.408e-05/0.4317, allocations: 7.984 kB / 1.337 GB, free: 6.805 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006435/0.4324, allocations: 111.9 kB / 1.337 GB, free: 6.695 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.192e-05/0.4324, allocations: 27.98 kB / 1.337 GB, free: 6.668 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition7,$whenCondition8,pul3.booPul.y,$PRE.pul3.booPul.y,pul3.y,$whenCondition5,$whenCondition6,pul1.booPul.y,$PRE.pul1.booPul.y,pul1.y,$whenCondition3,$whenCondition4,pul2.booPul.y,$PRE.pul2.booPul.y,pul2.y,$whenCondition1,$whenCondition2,pul.booPul.y,$PRE.pul.booPul.y,pul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 4 * 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.0001656/0.4326, allocations: 150.2 kB / 1.337 GB, free: 6.512 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.841e-05/0.4326, allocations: 23.84 kB / 1.337 GB, free: 6.488 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.389e-05/0.4327, allocations: 21.34 kB / 1.337 GB, free: 6.461 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.51e-06/0.4327, allocations: 3.984 kB / 1.337 GB, free: 6.457 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.4327, allocations: 4 kB / 1.337 GB, free: 6.453 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.851e-05/0.4327, allocations: 23.86 kB / 1.337 GB, free: 6.43 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.117e-05/0.4327, allocations: 7.938 kB / 1.337 GB, free: 6.422 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.408e-05/0.4328, allocations: 7.984 kB / 1.337 GB, free: 6.414 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.595e-05/0.4328, allocations: 15.98 kB / 1.337 GB, free: 6.398 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004151/0.4333, allocations: 474.6 kB / 1.337 GB, free: 5.926 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004506/0.4337, allocations: 0.5646 MB / 1.338 GB, free: 5.344 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001005/0.4338, allocations: 52.5 kB / 1.338 GB, free: 5.293 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001655/0.434, allocations: 168.5 kB / 1.338 GB, free: 5.133 MB / 1.029 GB Notification: Performance of Backend: time 6.71e-07/0.434, allocations: 0 / 1.338 GB, free: 5.133 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001276/0.4353, allocations: 0.6447 MB / 1.339 GB, free: 4.41 MB / 1.029 GB Notification: Performance of SimCode: time 0.001085/0.4363, allocations: 0.7828 MB / 1.34 GB, free: 3.578 MB / 1.029 GB Notification: Performance of Templates: time 0.01066/0.447, allocations: 5.469 MB / 1.345 GB, free: 14.23 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Pulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.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.692280570998264]