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.001611/0.001611, allocations: 117.8 kB / 17.13 MB, free: 6.004 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.001918/0.001918, allocations: 217.8 kB / 20.1 MB, free: 3.051 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.503/1.503, allocations: 230.6 MB / 253.5 MB, free: 15.1 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 2.902/2.902, allocations: 0.49 GB / 0.7923 GB, free: 1.422 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.002058/0.002058, allocations: 72.19 kB / 1.15 GB, free: 13.97 MB / 0.8887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.014/1.016, allocations: 176.1 MB / 1.322 GB, free: 7.723 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.002321/1.019, allocations: 0.9667 MB / 1.323 GB, free: 6.984 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.00208/1.021, allocations: 1.472 MB / 1.324 GB, free: 5.793 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.759e-05/1.021, allocations: 2.344 kB / 1.324 GB, free: 5.793 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 5.125e-05/1.021, allocations: 15.75 kB / 1.324 GB, free: 5.777 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001554/1.021, allocations: 60.67 kB / 1.324 GB, free: 5.727 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.00112/1.022, allocations: 452.3 kB / 1.325 GB, free: 5.418 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0005693/1.023, allocations: 491.8 kB / 1.325 GB, free: 5.125 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001177/1.023, allocations: 28.83 kB / 1.325 GB, free: 5.105 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001999/1.023, allocations: 185.5 kB / 1.326 GB, free: 4.996 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002419/1.023, allocations: 168.5 kB / 1.326 GB, free: 4.871 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 6.921e-05/1.023, allocations: 52.02 kB / 1.326 GB, free: 4.867 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001111/1.024, allocations: 64.3 kB / 1.326 GB, free: 4.859 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 3.63e-05/1.024, allocations: 31.89 kB / 1.326 GB, free: 4.836 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0001765/1.024, allocations: 175.7 kB / 1.326 GB, free: 4.707 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0005214/1.024, allocations: 0.4884 MB / 1.326 GB, free: 4.32 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/1.024, allocations: 0 / 1.326 GB, free: 4.32 MB / 1.014 GB Notification: Performance of FrontEnd: time 8.12e-07/1.024, allocations: 0 / 1.326 GB, free: 4.32 MB / 1.014 GB Notification: Performance of Transformations before backend: time 4.819e-06/1.024, allocations: 1.094 kB / 1.326 GB, free: 4.32 MB / 1.014 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.0008642/1.025, allocations: 0.6414 MB / 1.327 GB, free: 3.688 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.774e-05/1.025, allocations: 13.08 kB / 1.327 GB, free: 3.684 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.542e-05/1.025, allocations: 31.58 kB / 1.327 GB, free: 3.672 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002096/1.025, allocations: 219.5 kB / 1.327 GB, free: 3.441 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.392e-05/1.026, allocations: 22.67 kB / 1.327 GB, free: 3.43 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.356e-05/1.026, allocations: 22.81 kB / 1.327 GB, free: 3.426 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002067/1.026, allocations: 124.7 kB / 1.328 GB, free: 3.316 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.043e-06/1.026, allocations: 1.281 kB / 1.328 GB, free: 3.316 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.489e-05/1.026, allocations: 4.938 kB / 1.328 GB, free: 3.312 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/1.026, allocations: 2.156 kB / 1.328 GB, free: 3.312 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001217/1.026, allocations: 58.44 kB / 1.328 GB, free: 3.281 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001023/1.027, allocations: 0.8655 MB / 1.328 GB, free: 2.453 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001756/1.027, allocations: 117.4 kB / 1.329 GB, free: 2.328 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.328e-05/1.027, allocations: 48.98 kB / 1.329 GB, free: 2.281 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.211e-05/1.027, allocations: 2.188 kB / 1.329 GB, free: 2.281 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003043/1.028, allocations: 179.3 kB / 1.329 GB, free: 2.133 MB / 1.014 GB Notification: Performance of pre-optimization done (n=16): time 1.353e-06/1.028, allocations: 0 / 1.329 GB, free: 2.133 MB / 1.014 GB Notification: Performance of matching and sorting (n=16): time 0.0004554/1.028, allocations: 232.7 kB / 1.329 GB, free: 2.008 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.066e-05/1.028, allocations: 132.1 kB / 1.329 GB, free: 1.852 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002493/1.028, allocations: 243 kB / 1.329 GB, free: 1.676 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 6.348e-05/1.028, allocations: 43.08 kB / 1.329 GB, free: 1.637 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001318/1.029, allocations: 137 kB / 1.33 GB, free: 1.508 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 3.681e-05/1.029, allocations: 29.48 kB / 1.33 GB, free: 1.484 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001892/1.029, allocations: 92.16 kB / 1.33 GB, free: 1.434 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.000154/1.029, allocations: 335.2 kB / 1.33 GB, free: 1.102 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000308/1.029, allocations: 151.3 kB / 1.33 GB, free: 1.02 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003741/1.03, allocations: 222.1 kB / 1.33 GB, free: 0.8438 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004789/1.03, allocations: 367.3 kB / 1.331 GB, free: 0.5156 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/1.03, allocations: 1.062 kB / 1.331 GB, free: 0.5156 MB / 1.014 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0009867/1.031, allocations: 0.5604 MB / 1.331 GB, free: 156 kB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 0.000117/1.031, allocations: 137.2 kB / 1.331 GB, free: 8 kB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.135e-06/1.031, allocations: 2.031 kB / 1.331 GB, free: 8 kB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.696e-05/1.031, allocations: 5.75 kB / 1.331 GB, free: 8 kB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.256e-05/1.031, allocations: 11.67 kB / 1.331 GB, free: 4 kB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.019e-05/1.031, allocations: 7.781 kB / 1.331 GB, free: 0 / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007056/1.032, allocations: 116.5 kB / 1.331 GB, free: 15.95 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.084e-05/1.032, allocations: 30.31 kB / 1.331 GB, free: 15.93 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.0001759/1.032, allocations: 143.2 kB / 1.332 GB, free: 15.8 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.029e-05/1.032, allocations: 29.73 kB / 1.332 GB, free: 15.79 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.154e-05/1.032, allocations: 22.48 kB / 1.332 GB, free: 15.76 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.467e-06/1.032, allocations: 3 kB / 1.332 GB, free: 15.76 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.875e-06/1.032, allocations: 5.469 kB / 1.332 GB, free: 15.76 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.083e-06/1.032, allocations: 5.406 kB / 1.332 GB, free: 15.75 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000272/1.033, allocations: 256.5 kB / 1.332 GB, free: 15.49 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/1.033, allocations: 1.75 kB / 1.332 GB, free: 15.49 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.252e-05/1.033, allocations: 15.17 kB / 1.332 GB, free: 15.48 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/1.033, allocations: 1.781 kB / 1.332 GB, free: 15.48 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.254e-05/1.033, allocations: 3.594 kB / 1.332 GB, free: 15.48 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/1.033, allocations: 1.781 kB / 1.332 GB, free: 15.48 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/1.033, allocations: 4 kB / 1.332 GB, free: 15.48 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003182/1.033, allocations: 228.4 kB / 1.332 GB, free: 15.31 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 7.581e-05/1.033, allocations: 103 kB / 1.332 GB, free: 15.2 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.617e-05/1.033, allocations: 4.625 kB / 1.332 GB, free: 15.2 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.391e-05/1.033, allocations: 4 kB / 1.332 GB, free: 15.2 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.036e-05/1.033, allocations: 18.8 kB / 1.332 GB, free: 15.18 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.636e-05/1.033, allocations: 13.48 kB / 1.332 GB, free: 15.18 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001802/1.033, allocations: 161.9 kB / 1.332 GB, free: 15.06 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/1.033, allocations: 0 / 1.332 GB, free: 15.06 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003462/1.034, allocations: 76.42 kB / 1.333 GB, free: 15.05 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.000157/1.034, allocations: 110.6 kB / 1.333 GB, free: 14.95 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0007496/1.035, allocations: 490.4 kB / 1.333 GB, free: 14.56 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/1.035, allocations: 1.344 kB / 1.333 GB, free: 14.56 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001527/1.035, allocations: 86.03 kB / 1.333 GB, free: 14.52 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004438/1.035, allocations: 62.64 kB / 1.333 GB, free: 14.49 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006897/1.036, allocations: 380.5 kB / 1.334 GB, free: 14.18 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003902/1.036, allocations: 0.7341 MB / 1.334 GB, free: 13.46 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.764e-05/1.036, allocations: 18 kB / 1.334 GB, free: 13.45 MB / 1.029 GB Notification: Performance of SimCode: time 4.3e-07/1.036, allocations: 0 / 1.334 GB, free: 13.45 MB / 1.029 GB Notification: Performance of Templates: time 0.006464/1.043, allocations: 3.505 MB / 1.338 GB, free: 11.64 MB / 1.029 GB " [Timeout remaining time 299] 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.833446592005203]