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.001818/0.001818, allocations: 113.3 kB / 18.94 MB, free: 2.934 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.002224/0.002224, allocations: 214.2 kB / 22.25 MB, free: 5.082 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.582/1.582, allocations: 230.6 MB / 256 MB, free: 8.035 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.272/3.272, allocations: 0.49 GB / 0.7951 GB, free: 33.29 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.002105/0.002105, allocations: 65.72 kB / 1.154 GB, free: 25.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4136/0.4157, allocations: 176.1 MB / 1.326 GB, free: 1.48 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.002589/0.4183, allocations: 0.9752 MB / 1.327 GB, free: 0.5078 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002226/0.4205, allocations: 1.467 MB / 1.329 GB, free: 15.03 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.505e-05/0.4206, allocations: 4 kB / 1.329 GB, free: 15.02 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 5.993e-05/0.4206, allocations: 23.73 kB / 1.329 GB, free: 15 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001754/0.4208, allocations: 55.58 kB / 1.329 GB, free: 14.95 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001191/0.422, allocations: 449.4 kB / 1.329 GB, free: 14.52 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0006502/0.4226, allocations: 499 kB / 1.33 GB, free: 14.03 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001624/0.4228, allocations: 29.95 kB / 1.33 GB, free: 14 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002575/0.4231, allocations: 187.6 kB / 1.33 GB, free: 13.82 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003089/0.4234, allocations: 167.4 kB / 1.33 GB, free: 13.65 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 7.903e-05/0.4235, allocations: 48 kB / 1.33 GB, free: 13.61 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001493/0.4236, allocations: 63.98 kB / 1.33 GB, free: 13.54 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 4.646e-05/0.4237, allocations: 31.86 kB / 1.33 GB, free: 13.51 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002309/0.4239, allocations: 175.3 kB / 1.33 GB, free: 13.34 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0006468/0.4245, allocations: 0.4907 MB / 1.331 GB, free: 12.85 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.122e-06/0.4245, allocations: 3.938 kB / 1.331 GB, free: 12.84 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.194e-06/0.4245, allocations: 0 / 1.331 GB, free: 12.84 MB / 1.029 GB Notification: Performance of Transformations before backend: time 9.227e-06/0.4245, allocations: 4 kB / 1.331 GB, free: 12.84 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.001001/0.4255, allocations: 0.5664 MB / 1.331 GB, free: 12.21 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.719e-05/0.4256, allocations: 15.97 kB / 1.331 GB, free: 12.2 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.926e-05/0.4257, allocations: 24.84 kB / 1.331 GB, free: 12.18 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002296/0.4259, allocations: 169.2 kB / 1.332 GB, free: 11.98 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.594e-05/0.426, allocations: 20.36 kB / 1.332 GB, free: 11.96 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.169e-05/0.426, allocations: 20.38 kB / 1.332 GB, free: 11.95 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002298/0.4263, allocations: 128.4 kB / 1.332 GB, free: 11.8 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.4263, allocations: 192 / 1.332 GB, free: 11.8 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.784e-05/0.4263, allocations: 3.938 kB / 1.332 GB, free: 11.8 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.025e-06/0.4263, allocations: 4 kB / 1.332 GB, free: 11.8 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000115/0.4264, allocations: 55.91 kB / 1.332 GB, free: 11.74 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001071/0.4275, allocations: 0.8435 MB / 1.333 GB, free: 10.84 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001688/0.4276, allocations: 110.4 kB / 1.333 GB, free: 10.7 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.353e-05/0.4277, allocations: 55.48 kB / 1.333 GB, free: 10.63 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.273e-05/0.4277, allocations: 0 / 1.333 GB, free: 10.63 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003496/0.4281, allocations: 182.6 kB / 1.333 GB, free: 10.43 MB / 1.029 GB Notification: Performance of pre-optimization done (n=16): time 1.383e-06/0.4281, allocations: 0 / 1.333 GB, free: 10.43 MB / 1.029 GB Notification: Performance of matching and sorting (n=16): time 0.000472/0.4286, allocations: 226.1 kB / 1.333 GB, free: 10.2 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.901e-05/0.4287, allocations: 136.5 kB / 1.333 GB, free: 10.04 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002683/0.4289, allocations: 240.8 kB / 1.334 GB, free: 9.789 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 6.153e-05/0.429, allocations: 45.69 kB / 1.334 GB, free: 9.738 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001205/0.4291, allocations: 128.5 kB / 1.334 GB, free: 9.605 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.459e-05/0.4292, allocations: 31.8 kB / 1.334 GB, free: 9.574 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000187/0.4293, allocations: 97.64 kB / 1.334 GB, free: 9.473 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001975/0.4295, allocations: 330.8 kB / 1.334 GB, free: 9.141 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003016/0.4298, allocations: 152.1 kB / 1.334 GB, free: 8.988 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003369/0.4302, allocations: 223.4 kB / 1.335 GB, free: 8.734 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004526/0.4306, allocations: 364.9 kB / 1.335 GB, free: 8.316 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/0.4306, allocations: 4 kB / 1.335 GB, free: 8.312 MB / 1.029 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.000916/0.4316, allocations: 0.5624 MB / 1.335 GB, free: 7.719 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001213/0.4317, allocations: 139 kB / 1.336 GB, free: 7.559 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.4317, allocations: 4 kB / 1.336 GB, free: 7.555 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.269e-05/0.4317, allocations: 4 kB / 1.336 GB, free: 7.551 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001031/0.4318, allocations: 12 kB / 1.336 GB, free: 7.539 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.898e-06/0.4318, allocations: 7.938 kB / 1.336 GB, free: 7.531 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006088/0.4324, allocations: 115.7 kB / 1.336 GB, free: 7.418 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.706e-05/0.4325, allocations: 23.97 kB / 1.336 GB, free: 7.395 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.0001834/0.4327, allocations: 158.4 kB / 1.336 GB, free: 7.23 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.247e-05/0.4327, allocations: 23.84 kB / 1.336 GB, free: 7.207 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.979e-05/0.4328, allocations: 21.33 kB / 1.336 GB, free: 7.18 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.201e-06/0.4328, allocations: 4 kB / 1.336 GB, free: 7.176 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.144e-06/0.4328, allocations: 0 / 1.336 GB, free: 7.176 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.957e-06/0.4328, allocations: 11.94 kB / 1.336 GB, free: 7.164 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002713/0.4331, allocations: 232.6 kB / 1.336 GB, free: 6.895 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.4331, allocations: 0 / 1.336 GB, free: 6.895 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.569e-05/0.4331, allocations: 8 kB / 1.336 GB, free: 6.887 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.4331, allocations: 0 / 1.336 GB, free: 6.887 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.625e-05/0.4331, allocations: 8 kB / 1.336 GB, free: 6.879 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.387e-06/0.4331, allocations: 3.984 kB / 1.336 GB, free: 6.875 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.619e-06/0.4331, allocations: 4 kB / 1.336 GB, free: 6.871 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003017/0.4334, allocations: 219.3 kB / 1.336 GB, free: 6.629 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.838e-05/0.4335, allocations: 23.84 kB / 1.336 GB, free: 6.605 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.837e-05/0.4335, allocations: 4 kB / 1.336 GB, free: 6.602 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.564e-05/0.4335, allocations: 4 kB / 1.336 GB, free: 6.598 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.698e-05/0.4336, allocations: 19.91 kB / 1.336 GB, free: 6.578 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.227e-05/0.4336, allocations: 8 kB / 1.336 GB, free: 6.57 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001619/0.4338, allocations: 172.5 kB / 1.337 GB, free: 6.406 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.4338, allocations: 3.938 kB / 1.337 GB, free: 6.402 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003129/0.4341, allocations: 64 kB / 1.337 GB, free: 6.34 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 16 ($whenCondition7,$whenCondition8,pul3.y,pul3.booPul.y,$whenCondition5,$whenCondition6,pul1.y,pul1.booPul.y,$whenCondition3,$whenCondition4,pul2.y,pul2.booPul.y,$whenCondition1,$whenCondition2,pul.y,pul.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0001808/0.4343, allocations: 119.3 kB / 1.337 GB, free: 6.215 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0006938/0.4349, allocations: 485.4 kB / 1.337 GB, free: 5.691 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.4349, allocations: 0.5 kB / 1.337 GB, free: 5.691 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001093/0.4351, allocations: 71.83 kB / 1.337 GB, free: 5.621 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004513/0.4355, allocations: 57.88 kB / 1.337 GB, free: 5.566 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006625/0.4362, allocations: 361.5 kB / 1.338 GB, free: 5.184 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003804/0.4366, allocations: 0.7289 MB / 1.338 GB, free: 4.43 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 6.212e-05/0.4366, allocations: 21.62 kB / 1.338 GB, free: 4.406 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.919e-05/0.4367, allocations: 23.44 kB / 1.338 GB, free: 4.383 MB / 1.029 GB Notification: Performance of SimCode: time 3.1e-07/0.4367, allocations: 0 / 1.338 GB, free: 4.383 MB / 1.029 GB Notification: Performance of Templates: time 0.009449/0.4461, allocations: 4.633 MB / 1.343 GB, free: 15.8 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/jenkins/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.600318082142621]