Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.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.002277/0.002277, allocations: 113.9 kB / 18.94 MB, free: 2.93 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.002521/0.002521, allocations: 188.8 kB / 22.23 MB, free: 5.105 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.502/1.502, allocations: 225.6 MB / 251 MB, free: 13.25 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.919/2.919, allocations: 443.4 MB / 0.7321 GB, free: 12.3 MB / 0.5919 GB " [Timeout remaining time 176] 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.Reals.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pulse.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse") translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pulse.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001974/0.001974, allocations: 67.89 kB / 1.061 GB, free: 2.969 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9603/0.9622, allocations: 160.8 MB / 1.218 GB, free: 3.793 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse): time 0.002119/0.9643, allocations: 0.7376 MB / 1.219 GB, free: 3.234 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001618/0.966, allocations: 1.143 MB / 1.22 GB, free: 2.312 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.989e-05/0.966, allocations: 0 / 1.22 GB, free: 2.312 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.124e-05/0.966, allocations: 3.938 kB / 1.22 GB, free: 2.309 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 9.421e-05/0.9661, allocations: 19.05 kB / 1.22 GB, free: 2.293 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005145/0.9667, allocations: 138 kB / 1.22 GB, free: 2.199 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0002006/0.9669, allocations: 123.3 kB / 1.221 GB, free: 2.125 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 9.226e-05/0.9669, allocations: 7.844 kB / 1.221 GB, free: 2.121 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 8.83e-05/0.967, allocations: 42.7 kB / 1.221 GB, free: 2.098 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001121/0.9671, allocations: 42.19 kB / 1.221 GB, free: 2.066 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 3.085e-05/0.9672, allocations: 12.59 kB / 1.221 GB, free: 2.066 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 9.155e-05/0.9673, allocations: 34.52 kB / 1.221 GB, free: 2.051 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.494e-05/0.9673, allocations: 14.33 kB / 1.221 GB, free: 2.039 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 6.862e-05/0.9674, allocations: 39.05 kB / 1.221 GB, free: 2.012 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002171/0.9676, allocations: 141.7 kB / 1.221 GB, free: 1.906 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.9676, allocations: 0 / 1.221 GB, free: 1.906 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.014e-06/0.9676, allocations: 1.125 kB / 1.221 GB, free: 1.906 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.231e-05/0.9676, allocations: 0 / 1.221 GB, free: 1.906 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005833/0.9682, allocations: 394.2 kB / 1.221 GB, free: 1.488 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.724e-05/0.9682, allocations: 9.594 kB / 1.221 GB, free: 1.488 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.872e-05/0.9683, allocations: 10.23 kB / 1.221 GB, free: 1.484 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000162/0.9684, allocations: 181.4 kB / 1.221 GB, free: 1.273 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.855e-05/0.9685, allocations: 3.562 kB / 1.221 GB, free: 1.273 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.3e-05/0.9685, allocations: 8.844 kB / 1.222 GB, free: 1.27 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001124/0.9686, allocations: 46.03 kB / 1.222 GB, free: 1.227 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.799e-06/0.9686, allocations: 192 / 1.222 GB, free: 1.227 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.257e-05/0.9686, allocations: 8.906 kB / 1.222 GB, free: 1.219 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.107e-06/0.9686, allocations: 3.938 kB / 1.222 GB, free: 1.215 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.983e-05/0.9687, allocations: 23.03 kB / 1.222 GB, free: 1.199 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004751/0.9691, allocations: 319.2 kB / 1.222 GB, free: 0.8633 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 7.849e-05/0.9692, allocations: 40.45 kB / 1.222 GB, free: 0.8203 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.872e-05/0.9693, allocations: 8.859 kB / 1.222 GB, free: 0.8125 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.19e-05/0.9693, allocations: 0 / 1.222 GB, free: 0.8125 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001716/0.9694, allocations: 69.12 kB / 1.222 GB, free: 0.7461 MB / 0.92 GB Notification: Performance of pre-optimization done (n=4): time 1.262e-06/0.9694, allocations: 0 / 1.222 GB, free: 0.7461 MB / 0.92 GB Notification: Performance of matching and sorting (n=4): time 0.0002271/0.9697, allocations: 77.3 kB / 1.222 GB, free: 0.6914 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.353e-05/0.9697, allocations: 52.44 kB / 1.222 GB, free: 0.6289 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001336/0.9698, allocations: 131.9 kB / 1.222 GB, free: 0.5078 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.807e-05/0.9699, allocations: 27.58 kB / 1.222 GB, free: 488 kB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 7.213e-05/0.9699, allocations: 92.06 kB / 1.222 GB, free: 396 kB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.46e-05/0.97, allocations: 6.109 kB / 1.222 GB, free: 392 kB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.722e-05/0.97, allocations: 29.3 kB / 1.222 GB, free: 368 kB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001605/0.9702, allocations: 321 kB / 1.223 GB, free: 40 kB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.779e-05/0.9703, allocations: 33.45 kB / 1.223 GB, free: 24 kB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001282/0.9704, allocations: 58.47 kB / 1.223 GB, free: 15.98 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001445/0.9705, allocations: 100.8 kB / 1.223 GB, free: 15.89 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.9705, allocations: 0 / 1.223 GB, free: 15.89 MB / 0.9356 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003102/0.9709, allocations: 170.5 kB / 1.223 GB, free: 15.77 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 4.484e-05/0.9709, allocations: 37.09 kB / 1.223 GB, free: 15.73 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.9709, allocations: 0.9375 kB / 1.223 GB, free: 15.73 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.65e-05/0.9709, allocations: 1.156 kB / 1.223 GB, free: 15.73 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.214e-05/0.971, allocations: 7.188 kB / 1.223 GB, free: 15.73 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.971, allocations: 1.094 kB / 1.223 GB, free: 15.73 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001867/0.9712, allocations: 31.66 kB / 1.223 GB, free: 15.71 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.331e-05/0.9712, allocations: 9.547 kB / 1.223 GB, free: 15.71 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,pulse.booPul.y,$PRE.pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 1 * 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.0001142/0.9713, allocations: 127.4 kB / 1.223 GB, free: 15.58 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.769e-05/0.9713, allocations: 5.984 kB / 1.223 GB, free: 15.57 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.55e-05/0.9713, allocations: 9.719 kB / 1.223 GB, free: 15.56 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.9713, allocations: 4.781 kB / 1.223 GB, free: 15.56 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.9714, allocations: 0 / 1.223 GB, free: 15.56 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.9714, allocations: 4.75 kB / 1.223 GB, free: 15.55 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001769/0.9715, allocations: 179.1 kB / 1.223 GB, free: 15.34 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.9715, allocations: 1.094 kB / 1.223 GB, free: 15.34 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.569e-05/0.9715, allocations: 2.312 kB / 1.223 GB, free: 15.34 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.9716, allocations: 3.938 kB / 1.223 GB, free: 15.34 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.706e-06/0.9716, allocations: 0.7812 kB / 1.223 GB, free: 15.34 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.9716, allocations: 0.9219 kB / 1.223 GB, free: 15.34 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.9716, allocations: 3.984 kB / 1.223 GB, free: 15.33 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001359/0.9717, allocations: 99.53 kB / 1.224 GB, free: 15.24 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.051e-05/0.9718, allocations: 78.2 kB / 1.224 GB, free: 15.14 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.309e-05/0.9718, allocations: 1 kB / 1.224 GB, free: 15.14 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.774e-05/0.9718, allocations: 0.9688 kB / 1.224 GB, free: 15.14 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.416e-05/0.9718, allocations: 6.047 kB / 1.224 GB, free: 15.14 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.489e-06/0.9718, allocations: 1.125 kB / 1.224 GB, free: 15.14 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 8.403e-05/0.9719, allocations: 106.9 kB / 1.224 GB, free: 15.05 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9719, allocations: 4 kB / 1.224 GB, free: 15.04 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002138/0.9721, allocations: 17.34 kB / 1.224 GB, free: 15.04 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001565/0.9723, allocations: 100 kB / 1.224 GB, free: 14.95 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002556/0.9725, allocations: 123 kB / 1.224 GB, free: 14.86 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.9725, allocations: 1.188 kB / 1.224 GB, free: 14.86 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 4.384e-05/0.9726, allocations: 19.23 kB / 1.224 GB, free: 14.84 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002229/0.9728, allocations: 20.83 kB / 1.224 GB, free: 14.83 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003448/0.9731, allocations: 143.6 kB / 1.224 GB, free: 14.7 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003292/0.9735, allocations: 0.6865 MB / 1.225 GB, free: 13.99 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.379e-05/0.9735, allocations: 2.438 kB / 1.225 GB, free: 13.99 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.626e-05/0.9735, allocations: 14.69 kB / 1.225 GB, free: 13.98 MB / 0.9356 GB Notification: Performance of SimCode: time 2.91e-07/0.9735, allocations: 0 / 1.225 GB, free: 13.98 MB / 0.9356 GB Notification: Performance of Templates: time 0.00428/0.9778, allocations: 1.369 MB / 1.226 GB, free: 13.29 MB / 0.9356 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Pulse.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.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.392349441535771]