Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0015/0.0015, allocations: 110 kB / 18.93 MB, free: 2.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001805/0.001805, allocations: 192.7 kB / 22.23 MB, free: 5.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.605/1.605, allocations: 225.6 MB / 251 MB, free: 13.04 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.76/2.76, allocations: 443.4 MB / 0.7321 GB, free: 12.28 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_10_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_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002007/0.002007, allocations: 71.81 kB / 1.061 GB, free: 2.965 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.071/1.073, allocations: 160.8 MB / 1.218 GB, free: 3.738 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.003574/1.077, allocations: 0.9867 MB / 1.219 GB, free: 2.98 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.003168/1.08, allocations: 1.451 MB / 1.221 GB, free: 1.801 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000126/1.08, allocations: 1.219 kB / 1.221 GB, free: 1.801 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 7.171e-05/1.08, allocations: 11.81 kB / 1.221 GB, free: 1.789 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0002437/1.08, allocations: 64.58 kB / 1.221 GB, free: 1.734 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001823/1.082, allocations: 440.3 kB / 1.221 GB, free: 1.438 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0008873/1.083, allocations: 492.6 kB / 1.222 GB, free: 1.145 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001748/1.083, allocations: 37.16 kB / 1.222 GB, free: 1.121 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000382/1.083, allocations: 190.2 kB / 1.222 GB, free: 1.008 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003877/1.084, allocations: 159.6 kB / 1.222 GB, free: 0.8906 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0001256/1.084, allocations: 49.06 kB / 1.222 GB, free: 0.8906 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002044/1.084, allocations: 66.64 kB / 1.222 GB, free: 0.8789 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 7.052e-05/1.084, allocations: 40.48 kB / 1.222 GB, free: 0.8477 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0002993/1.084, allocations: 167.2 kB / 1.222 GB, free: 0.7266 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0008196/1.085, allocations: 0.4929 MB / 1.223 GB, free: 344 kB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.101e-06/1.085, allocations: 0 / 1.223 GB, free: 344 kB / 0.92 GB Notification: Performance of FrontEnd: time 2.385e-06/1.085, allocations: 1.344 kB / 1.223 GB, free: 344 kB / 0.92 GB Notification: Performance of Transformations before backend: time 9.057e-06/1.085, allocations: 0 / 1.223 GB, free: 344 kB / 0.92 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.001273/1.087, allocations: 0.6454 MB / 1.224 GB, free: 15.7 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.726e-05/1.087, allocations: 8.625 kB / 1.224 GB, free: 15.7 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001399/1.087, allocations: 31.58 kB / 1.224 GB, free: 15.69 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003399/1.087, allocations: 219.2 kB / 1.224 GB, free: 15.46 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.728e-05/1.087, allocations: 19.34 kB / 1.224 GB, free: 15.45 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001014/1.087, allocations: 27.33 kB / 1.224 GB, free: 15.44 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003397/1.088, allocations: 122.8 kB / 1.224 GB, free: 15.34 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.015e-05/1.088, allocations: 4.172 kB / 1.224 GB, free: 15.33 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.494e-05/1.088, allocations: 9.281 kB / 1.224 GB, free: 15.32 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.917e-06/1.088, allocations: 5.688 kB / 1.224 GB, free: 15.32 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001834/1.088, allocations: 63 kB / 1.224 GB, free: 15.29 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001567/1.089, allocations: 0.8656 MB / 1.225 GB, free: 14.46 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002637/1.09, allocations: 116.7 kB / 1.225 GB, free: 14.33 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001218/1.09, allocations: 53.11 kB / 1.225 GB, free: 14.28 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.945e-05/1.09, allocations: 1.812 kB / 1.225 GB, free: 14.28 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004802/1.09, allocations: 179.7 kB / 1.225 GB, free: 14.13 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=16): time 2.164e-06/1.09, allocations: 0 / 1.225 GB, free: 14.13 MB / 0.9356 GB Notification: Performance of matching and sorting (n=16): time 0.0007404/1.091, allocations: 216.8 kB / 1.225 GB, free: 14.02 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001314/1.091, allocations: 143.7 kB / 1.226 GB, free: 13.86 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004037/1.092, allocations: 243.7 kB / 1.226 GB, free: 13.68 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 8.037e-05/1.092, allocations: 38.45 kB / 1.226 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001719/1.092, allocations: 129 kB / 1.226 GB, free: 13.53 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.916e-05/1.092, allocations: 30.08 kB / 1.226 GB, free: 13.5 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002805/1.092, allocations: 91.91 kB / 1.226 GB, free: 13.45 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0002087/1.092, allocations: 335.1 kB / 1.226 GB, free: 13.12 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004886/1.093, allocations: 140 kB / 1.227 GB, free: 13.05 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005568/1.093, allocations: 229.4 kB / 1.227 GB, free: 12.87 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007879/1.094, allocations: 372.8 kB / 1.227 GB, free: 12.54 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/1.094, allocations: 0 / 1.227 GB, free: 12.54 MB / 0.9356 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001621/1.096, allocations: 0.5636 MB / 1.228 GB, free: 12.17 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001638/1.096, allocations: 137.9 kB / 1.228 GB, free: 12.03 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.297e-05/1.096, allocations: 2.5 kB / 1.228 GB, free: 12.03 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.714e-05/1.096, allocations: 8.062 kB / 1.228 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001307/1.096, allocations: 17.33 kB / 1.228 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.619e-05/1.096, allocations: 4 kB / 1.228 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009844/1.097, allocations: 115.3 kB / 1.228 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.365e-05/1.097, allocations: 26.95 kB / 1.228 GB, free: 11.96 MB / 0.9356 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.000303/1.098, allocations: 159.9 kB / 1.228 GB, free: 11.81 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.573e-05/1.098, allocations: 21.39 kB / 1.228 GB, free: 11.8 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.404e-05/1.098, allocations: 23.52 kB / 1.228 GB, free: 11.77 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.123e-06/1.098, allocations: 2.719 kB / 1.228 GB, free: 11.77 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.398e-05/1.098, allocations: 1.438 kB / 1.228 GB, free: 11.77 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.039e-05/1.098, allocations: 5.375 kB / 1.228 GB, free: 11.77 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004113/1.098, allocations: 260.6 kB / 1.228 GB, free: 11.5 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/1.098, allocations: 1.312 kB / 1.228 GB, free: 11.5 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.313e-05/1.098, allocations: 14.89 kB / 1.228 GB, free: 11.5 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.36e-06/1.098, allocations: 10.5 kB / 1.228 GB, free: 11.49 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.135e-05/1.098, allocations: 10.69 kB / 1.228 GB, free: 11.48 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.847e-06/1.098, allocations: 1.344 kB / 1.228 GB, free: 11.48 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/1.098, allocations: 1.438 kB / 1.228 GB, free: 11.48 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004718/1.099, allocations: 218 kB / 1.229 GB, free: 11.32 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001041/1.099, allocations: 98.22 kB / 1.229 GB, free: 11.21 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.157e-05/1.099, allocations: 10.73 kB / 1.229 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.601e-05/1.099, allocations: 2.844 kB / 1.229 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.059e-05/1.099, allocations: 21.11 kB / 1.229 GB, free: 11.19 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.311e-05/1.099, allocations: 13.55 kB / 1.229 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0002559/1.099, allocations: 161.8 kB / 1.229 GB, free: 11.06 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.11e-07/1.099, allocations: 1.375 kB / 1.229 GB, free: 11.06 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0005929/1.1, allocations: 71.98 kB / 1.229 GB, free: 11.05 MB / 0.9356 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.0002119/1.1, allocations: 111.9 kB / 1.229 GB, free: 10.95 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001122/1.101, allocations: 492.2 kB / 1.23 GB, free: 10.56 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/1.101, allocations: 0 / 1.23 GB, free: 10.56 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001738/1.101, allocations: 56.52 kB / 1.23 GB, free: 10.54 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006358/1.102, allocations: 68.84 kB / 1.23 GB, free: 10.5 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001229/1.103, allocations: 344.6 kB / 1.23 GB, free: 10.24 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006137/1.104, allocations: 0.7321 MB / 1.231 GB, free: 9.516 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0001409/1.104, allocations: 26.44 kB / 1.231 GB, free: 9.5 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.601e-05/1.104, allocations: 21.81 kB / 1.231 GB, free: 9.488 MB / 0.9356 GB Notification: Performance of SimCode: time 1.202e-06/1.104, allocations: 0 / 1.231 GB, free: 9.488 MB / 0.9356 GB Notification: Performance of Templates: time 0.01747/1.122, allocations: 4.636 MB / 1.235 GB, free: 5.312 MB / 0.9356 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Pulse.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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.735974858514965]