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.001749/0.001749, allocations: 104.3 kB / 19.7 MB, free: 2.152 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.00221/0.00221, allocations: 214.6 kB / 22.99 MB, free: 4.965 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.527/1.527, allocations: 230.6 MB / 256.8 MB, free: 7.785 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.411/3.411, allocations: 0.49 GB / 0.7959 GB, free: 35.44 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.002109/0.002109, allocations: 66.39 kB / 1.155 GB, free: 25.23 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3807/0.3828, allocations: 176.1 MB / 1.327 GB, free: 0.9844 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.002251/0.385, allocations: 0.9191 MB / 1.328 GB, free: 72 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002083/0.3871, allocations: 1.455 MB / 1.329 GB, free: 14.6 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.546e-05/0.3872, allocations: 4 kB / 1.329 GB, free: 14.6 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 5.11e-05/0.3873, allocations: 15.8 kB / 1.329 GB, free: 14.58 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001701/0.3874, allocations: 71.5 kB / 1.329 GB, free: 14.51 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001121/0.3885, allocations: 441.1 kB / 1.33 GB, free: 14.09 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0005782/0.3891, allocations: 495.1 kB / 1.33 GB, free: 13.61 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001251/0.3892, allocations: 21.95 kB / 1.33 GB, free: 13.59 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002192/0.3895, allocations: 191.6 kB / 1.331 GB, free: 13.4 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002894/0.3898, allocations: 163.5 kB / 1.331 GB, free: 13.24 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 8.133e-05/0.3898, allocations: 48 kB / 1.331 GB, free: 13.19 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001206/0.39, allocations: 63.98 kB / 1.331 GB, free: 13.13 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 4.438e-05/0.39, allocations: 35.8 kB / 1.331 GB, free: 13.09 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001686/0.3902, allocations: 151.6 kB / 1.331 GB, free: 12.95 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005332/0.3907, allocations: 0.4984 MB / 1.332 GB, free: 12.45 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.625e-05/0.3907, allocations: 7.938 kB / 1.332 GB, free: 12.44 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.362e-06/0.3907, allocations: 3.938 kB / 1.332 GB, free: 12.43 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.901e-06/0.3908, allocations: 0 / 1.332 GB, free: 12.43 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.0008791/0.3916, allocations: 0.5586 MB / 1.332 GB, free: 11.82 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.87e-05/0.3917, allocations: 12.03 kB / 1.332 GB, free: 11.8 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001002/0.3918, allocations: 28.83 kB / 1.332 GB, free: 11.78 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001908/0.392, allocations: 177.2 kB / 1.332 GB, free: 11.58 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.613e-05/0.392, allocations: 20.3 kB / 1.332 GB, free: 11.56 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.156e-05/0.3921, allocations: 24.38 kB / 1.332 GB, free: 11.54 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002119/0.3923, allocations: 113.6 kB / 1.332 GB, free: 11.41 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.165e-06/0.3923, allocations: 192 / 1.332 GB, free: 11.41 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.937e-05/0.3923, allocations: 11.94 kB / 1.332 GB, free: 11.39 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.3923, allocations: 0 / 1.332 GB, free: 11.39 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000115/0.3924, allocations: 55.91 kB / 1.332 GB, free: 11.34 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009663/0.3934, allocations: 0.7271 MB / 1.333 GB, free: 10.57 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002181/0.3936, allocations: 110.4 kB / 1.333 GB, free: 10.43 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.704e-05/0.3937, allocations: 59.42 kB / 1.333 GB, free: 10.36 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.229e-05/0.3937, allocations: 0 / 1.333 GB, free: 10.36 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003298/0.394, allocations: 177.3 kB / 1.334 GB, free: 10.16 MB / 1.029 GB Notification: Performance of pre-optimization done (n=16): time 1.313e-06/0.394, allocations: 4 kB / 1.334 GB, free: 10.16 MB / 1.029 GB Notification: Performance of matching and sorting (n=16): time 0.0005201/0.3946, allocations: 229.3 kB / 1.334 GB, free: 9.926 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001066/0.3947, allocations: 136.5 kB / 1.334 GB, free: 9.762 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000268/0.3949, allocations: 240.8 kB / 1.334 GB, free: 9.512 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 6.188e-05/0.395, allocations: 37.7 kB / 1.334 GB, free: 9.469 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001262/0.3951, allocations: 136.5 kB / 1.334 GB, free: 9.328 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.504e-05/0.3952, allocations: 27.8 kB / 1.334 GB, free: 9.301 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001892/0.3953, allocations: 93.66 kB / 1.334 GB, free: 9.203 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001622/0.3955, allocations: 334.8 kB / 1.335 GB, free: 8.867 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003895/0.3959, allocations: 274.9 kB / 1.335 GB, free: 8.57 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004502/0.3963, allocations: 359.1 kB / 1.335 GB, free: 8.16 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004869/0.3968, allocations: 372.9 kB / 1.336 GB, free: 7.734 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.554e-06/0.3968, allocations: 0 / 1.336 GB, free: 7.734 MB / 1.029 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001145/0.398, allocations: 0.6872 MB / 1.336 GB, free: 6.992 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001533/0.3981, allocations: 138.8 kB / 1.336 GB, free: 6.832 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.3981, allocations: 0 / 1.336 GB, free: 6.832 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.008e-05/0.3982, allocations: 4 kB / 1.336 GB, free: 6.828 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.637e-05/0.3982, allocations: 15.94 kB / 1.336 GB, free: 6.812 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.749e-06/0.3983, allocations: 4 kB / 1.337 GB, free: 6.809 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006704/0.3989, allocations: 116 kB / 1.337 GB, free: 6.695 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.564e-05/0.399, allocations: 19.98 kB / 1.337 GB, free: 6.676 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.0002126/0.3992, allocations: 158.2 kB / 1.337 GB, free: 6.512 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.107e-05/0.3992, allocations: 23.84 kB / 1.337 GB, free: 6.488 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.957e-05/0.3993, allocations: 17.34 kB / 1.337 GB, free: 6.465 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.3993, allocations: 11.94 kB / 1.337 GB, free: 6.453 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.435e-06/0.3993, allocations: 3.984 kB / 1.337 GB, free: 6.449 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.112e-06/0.3993, allocations: 7.984 kB / 1.337 GB, free: 6.441 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002183/0.3995, allocations: 181.2 kB / 1.337 GB, free: 6.234 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.3995, allocations: 0 / 1.337 GB, free: 6.234 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.598e-05/0.3996, allocations: 15.92 kB / 1.337 GB, free: 6.219 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.3996, allocations: 0 / 1.337 GB, free: 6.219 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.532e-05/0.3996, allocations: 4 kB / 1.337 GB, free: 6.215 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.636e-06/0.3996, allocations: 4 kB / 1.337 GB, free: 6.211 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.888e-06/0.3996, allocations: 4 kB / 1.337 GB, free: 6.207 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003286/0.3999, allocations: 227.3 kB / 1.337 GB, free: 5.957 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.711e-05/0.4, allocations: 23.86 kB / 1.337 GB, free: 5.934 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.473e-05/0.4, allocations: 7.984 kB / 1.337 GB, free: 5.926 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.718e-05/0.4001, allocations: 4 kB / 1.337 GB, free: 5.922 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.036e-05/0.4001, allocations: 15.97 kB / 1.337 GB, free: 5.906 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.211e-05/0.4001, allocations: 8 kB / 1.337 GB, free: 5.898 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001931/0.4003, allocations: 172.4 kB / 1.337 GB, free: 5.734 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.4003, allocations: 3.938 kB / 1.337 GB, free: 5.73 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003718/0.4007, allocations: 64 kB / 1.338 GB, free: 5.668 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.0002196/0.4009, allocations: 123.4 kB / 1.338 GB, free: 5.539 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0008609/0.4018, allocations: 0.5978 MB / 1.338 GB, free: 4.867 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.4018, allocations: 0 / 1.338 GB, free: 4.867 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001126/0.4019, allocations: 59.91 kB / 1.338 GB, free: 4.809 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004628/0.4024, allocations: 62.55 kB / 1.338 GB, free: 4.75 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006818/0.403, allocations: 350.7 kB / 1.339 GB, free: 4.375 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001298/0.4032, allocations: 120.9 kB / 1.339 GB, free: 4.238 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 6.228e-05/0.4032, allocations: 18.39 kB / 1.339 GB, free: 4.219 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.937e-05/0.4033, allocations: 23.44 kB / 1.339 GB, free: 4.195 MB / 1.029 GB Notification: Performance of SimCode: time 3.21e-07/0.4033, allocations: 0 / 1.339 GB, free: 4.195 MB / 1.029 GB Notification: Performance of Templates: time 0.0104/0.4137, allocations: 5.258 MB / 1.344 GB, free: 15.05 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 -s cvode -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.64559842000017]