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.00148/0.00148, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001532/0.001532, allocations: 214.4 kB / 22.99 MB, free: 4.945 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.462/1.462, allocations: 230.6 MB / 256.8 MB, free: 7.828 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.145/3.145, allocations: 0.4892 GB / 0.7951 GB, free: 35.72 MB / 0.6231 GB " [Timeout remaining time 177] 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.00209/0.00209, allocations: 66.25 kB / 1.154 GB, free: 25.6 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3541/0.3562, allocations: 176.1 MB / 1.326 GB, free: 1.879 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.002292/0.3585, allocations: 0.9207 MB / 1.327 GB, free: 0.9609 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002142/0.3606, allocations: 1.455 MB / 1.329 GB, free: 15.49 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.55e-05/0.3607, allocations: 4 kB / 1.329 GB, free: 15.49 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 5.278e-05/0.3608, allocations: 11.81 kB / 1.329 GB, free: 15.48 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001793/0.361, allocations: 59.52 kB / 1.329 GB, free: 15.42 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001113/0.3621, allocations: 451.2 kB / 1.329 GB, free: 14.99 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0005852/0.3627, allocations: 495 kB / 1.33 GB, free: 14.5 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001264/0.3628, allocations: 29.94 kB / 1.33 GB, free: 14.47 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002265/0.363, allocations: 183.6 kB / 1.33 GB, free: 14.29 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002584/0.3633, allocations: 147.4 kB / 1.33 GB, free: 14.15 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 9.317e-05/0.3634, allocations: 48 kB / 1.33 GB, free: 14.1 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001331/0.3635, allocations: 60 kB / 1.33 GB, free: 14.04 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 5.329e-05/0.3636, allocations: 43.77 kB / 1.33 GB, free: 14 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.000198/0.3637, allocations: 147.6 kB / 1.33 GB, free: 13.86 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005712/0.3643, allocations: 0.4984 MB / 1.331 GB, free: 13.36 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 7.745e-06/0.3643, allocations: 4 kB / 1.331 GB, free: 13.35 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.934e-06/0.3643, allocations: 0 / 1.331 GB, free: 13.35 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.063e-06/0.3643, 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0009585/0.3653, allocations: 0.5624 MB / 1.331 GB, free: 12.73 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.27e-05/0.3653, allocations: 12.03 kB / 1.331 GB, free: 12.72 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.438e-05/0.3654, allocations: 24.84 kB / 1.331 GB, free: 12.7 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002095/0.3656, allocations: 169.3 kB / 1.331 GB, free: 12.5 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.188e-05/0.3657, allocations: 16.31 kB / 1.331 GB, free: 12.49 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.716e-05/0.3657, allocations: 24.38 kB / 1.332 GB, free: 12.46 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002251/0.366, allocations: 127.8 kB / 1.332 GB, free: 12.32 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/0.366, allocations: 192 / 1.332 GB, free: 12.32 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.042e-05/0.366, allocations: 11.94 kB / 1.332 GB, free: 12.31 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.366, allocations: 0 / 1.332 GB, free: 12.31 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000131/0.3661, allocations: 51.92 kB / 1.332 GB, free: 12.26 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009878/0.3671, allocations: 0.731 MB / 1.332 GB, free: 11.49 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001928/0.3673, allocations: 114.4 kB / 1.333 GB, free: 11.34 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.906e-05/0.3674, allocations: 59.42 kB / 1.333 GB, free: 11.27 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.303e-05/0.3674, allocations: 0 / 1.333 GB, free: 11.27 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003388/0.3677, allocations: 170.7 kB / 1.333 GB, free: 11.08 MB / 1.029 GB Notification: Performance of pre-optimization done (n=16): time 1.283e-06/0.3677, allocations: 0 / 1.333 GB, free: 11.08 MB / 1.029 GB Notification: Performance of matching and sorting (n=16): time 0.0004901/0.3682, allocations: 226.1 kB / 1.333 GB, free: 10.85 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001078/0.3683, allocations: 148.4 kB / 1.333 GB, free: 10.68 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002836/0.3686, allocations: 240.8 kB / 1.333 GB, free: 10.43 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 5.299e-05/0.3687, allocations: 37.7 kB / 1.333 GB, free: 10.38 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001365/0.3688, allocations: 132.5 kB / 1.333 GB, free: 10.25 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.736e-05/0.3689, allocations: 31.78 kB / 1.334 GB, free: 10.21 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001764/0.369, allocations: 97.66 kB / 1.334 GB, free: 10.11 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001664/0.3692, allocations: 334.8 kB / 1.334 GB, free: 9.777 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004045/0.3696, allocations: 267 kB / 1.334 GB, free: 9.488 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004537/0.3701, allocations: 358.2 kB / 1.335 GB, free: 9.078 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004957/0.3706, allocations: 372.9 kB / 1.335 GB, free: 8.652 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.3706, allocations: 0 / 1.335 GB, free: 8.652 MB / 1.029 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001069/0.3716, allocations: 0.6862 MB / 1.336 GB, free: 7.91 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001187/0.3717, allocations: 138.8 kB / 1.336 GB, free: 7.75 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.613e-06/0.3717, allocations: 0 / 1.336 GB, free: 7.75 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.015e-05/0.3718, allocations: 4 kB / 1.336 GB, free: 7.746 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.635e-05/0.3719, allocations: 20.17 kB / 1.336 GB, free: 7.727 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.308e-06/0.3719, allocations: 8 kB / 1.336 GB, free: 7.719 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006213/0.3725, allocations: 107.8 kB / 1.336 GB, free: 7.613 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.329e-05/0.3725, allocations: 23.97 kB / 1.336 GB, free: 7.59 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.0001879/0.3727, allocations: 162.2 kB / 1.336 GB, free: 7.422 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.508e-05/0.3728, allocations: 19.86 kB / 1.336 GB, free: 7.402 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.366e-05/0.3728, allocations: 21.33 kB / 1.336 GB, free: 7.375 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-06/0.3728, allocations: 4 kB / 1.336 GB, free: 7.371 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.115e-06/0.3728, allocations: 4 kB / 1.336 GB, free: 7.367 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.3728, allocations: 3.938 kB / 1.336 GB, free: 7.363 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002174/0.3731, allocations: 185.2 kB / 1.336 GB, free: 7.152 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.522e-06/0.3731, allocations: 0 / 1.336 GB, free: 7.152 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.827e-05/0.3731, allocations: 8 kB / 1.336 GB, free: 7.145 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.468e-06/0.3731, allocations: 15.88 kB / 1.336 GB, free: 7.129 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.703e-05/0.3731, allocations: 7.984 kB / 1.336 GB, free: 7.121 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.3731, allocations: 0 / 1.336 GB, free: 7.121 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.3731, allocations: 4 kB / 1.336 GB, free: 7.117 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003277/0.3735, allocations: 225.5 kB / 1.336 GB, free: 6.871 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.694e-05/0.3735, allocations: 19.86 kB / 1.336 GB, free: 6.852 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.817e-05/0.3735, allocations: 4 kB / 1.336 GB, free: 6.848 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.222e-05/0.3736, allocations: 7.984 kB / 1.336 GB, free: 6.84 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.49e-05/0.3736, allocations: 15.92 kB / 1.337 GB, free: 6.824 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.294e-05/0.3736, allocations: 11.98 kB / 1.337 GB, free: 6.812 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001734/0.3738, allocations: 168.4 kB / 1.337 GB, free: 6.652 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3738, allocations: 4 kB / 1.337 GB, free: 6.648 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003179/0.3741, allocations: 67.98 kB / 1.337 GB, free: 6.582 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.0001745/0.3743, allocations: 115.4 kB / 1.337 GB, free: 6.461 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0008064/0.3751, allocations: 0.6017 MB / 1.337 GB, free: 5.785 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.3751, allocations: 0 / 1.337 GB, free: 5.785 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001491/0.3753, allocations: 76.41 kB / 1.338 GB, free: 5.711 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004311/0.3757, allocations: 65.33 kB / 1.338 GB, free: 5.652 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006708/0.3764, allocations: 380.4 kB / 1.338 GB, free: 5.242 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001223/0.3765, allocations: 120.9 kB / 1.338 GB, free: 5.105 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.733e-05/0.3765, allocations: 23.38 kB / 1.338 GB, free: 5.082 MB / 1.029 GB Notification: Performance of SimCode: time 4.11e-07/0.3765, allocations: 0 / 1.338 GB, free: 5.082 MB / 1.029 GB Notification: Performance of Templates: time 0.006354/0.3829, allocations: 3.561 MB / 1.342 GB, free: 1.559 MB / 1.029 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: 11.3874103538692]