Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.00161/0.00161, allocations: 115.5 kB / 18.88 MB, free: 3.062 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.001928/0.001928, allocations: 193 kB / 22.17 MB, free: 5.656 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.447/1.447, allocations: 225.6 MB / 250.9 MB, free: 13.29 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.807/2.807, allocations: 476.7 MB / 0.7645 GB, free: 10.09 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002162/0.002162, allocations: 67.89 kB / 1.109 GB, free: 6.504 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.843/0.8451, allocations: 168.7 MB / 1.274 GB, free: 4.551 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse): time 0.001961/0.8471, allocations: 0.7303 MB / 1.275 GB, free: 3.82 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001437/0.8485, allocations: 1.141 MB / 1.276 GB, free: 2.668 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.042e-05/0.8486, allocations: 4 kB / 1.276 GB, free: 2.664 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.375e-05/0.8486, allocations: 3.938 kB / 1.276 GB, free: 2.66 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 9.087e-05/0.8487, allocations: 11.92 kB / 1.276 GB, free: 2.648 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.000523/0.8492, allocations: 138.3 kB / 1.276 GB, free: 2.516 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001977/0.8494, allocations: 131.7 kB / 1.276 GB, free: 2.387 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 9.709e-05/0.8495, allocations: 12 kB / 1.276 GB, free: 2.375 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 7.78e-05/0.8496, allocations: 39.91 kB / 1.276 GB, free: 2.336 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001086/0.8497, allocations: 43.88 kB / 1.276 GB, free: 2.293 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.524e-05/0.8497, allocations: 12 kB / 1.276 GB, free: 2.281 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 6.856e-05/0.8498, allocations: 23.98 kB / 1.276 GB, free: 2.258 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.224e-05/0.8498, allocations: 11.94 kB / 1.276 GB, free: 2.246 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 6.844e-05/0.8499, allocations: 47.78 kB / 1.276 GB, free: 2.199 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002048/0.8501, allocations: 138.3 kB / 1.277 GB, free: 2.066 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.8501, allocations: 0 / 1.277 GB, free: 2.066 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.232e-06/0.8501, allocations: 0 / 1.277 GB, free: 2.066 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.971e-06/0.8501, allocations: 0 / 1.277 GB, free: 2.066 MB / 0.9669 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.0005874/0.8507, allocations: 400.9 kB / 1.277 GB, free: 1.617 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.842e-05/0.8507, allocations: 8.031 kB / 1.277 GB, free: 1.609 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.614e-05/0.8508, allocations: 8.938 kB / 1.277 GB, free: 1.602 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001675/0.851, allocations: 176.3 kB / 1.277 GB, free: 1.391 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.903e-05/0.851, allocations: 4.375 kB / 1.277 GB, free: 1.387 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.049e-05/0.851, allocations: 4.375 kB / 1.277 GB, free: 1.383 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.981e-05/0.8511, allocations: 46.25 kB / 1.277 GB, free: 1.332 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.837e-06/0.8511, allocations: 192 / 1.277 GB, free: 1.332 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.123e-05/0.8511, allocations: 7.875 kB / 1.277 GB, free: 1.324 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.508e-06/0.8511, allocations: 4 kB / 1.277 GB, free: 1.32 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.5e-05/0.8512, allocations: 19.92 kB / 1.277 GB, free: 1.301 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000449/0.8516, allocations: 324.8 kB / 1.277 GB, free: 0.9336 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 7.288e-05/0.8517, allocations: 30.52 kB / 1.277 GB, free: 0.8945 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.513e-05/0.8517, allocations: 12.92 kB / 1.278 GB, free: 0.8789 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 6.141e-06/0.8517, allocations: 0 / 1.278 GB, free: 0.8789 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001231/0.8518, allocations: 71.27 kB / 1.278 GB, free: 0.7969 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.8518, allocations: 0 / 1.278 GB, free: 0.7969 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4): time 0.0002231/0.8521, allocations: 77.66 kB / 1.278 GB, free: 0.7148 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.145e-05/0.8521, allocations: 55.41 kB / 1.278 GB, free: 0.6484 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001186/0.8522, allocations: 129.7 kB / 1.278 GB, free: 0.5117 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.735e-05/0.8523, allocations: 25.7 kB / 1.278 GB, free: 492 kB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.306e-05/0.8523, allocations: 92.12 kB / 1.278 GB, free: 396 kB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.682e-05/0.8523, allocations: 15.89 kB / 1.278 GB, free: 380 kB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.545e-05/0.8524, allocations: 33.7 kB / 1.278 GB, free: 340 kB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001289/0.8525, allocations: 318.8 kB / 1.278 GB, free: 12 kB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001006/0.8526, allocations: 35.98 kB / 1.278 GB, free: 15.98 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001009/0.8527, allocations: 54.56 kB / 1.278 GB, free: 15.91 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001287/0.8529, allocations: 96.2 kB / 1.278 GB, free: 15.8 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.8529, allocations: 0 / 1.278 GB, free: 15.8 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000285/0.8531, allocations: 171.2 kB / 1.279 GB, free: 15.62 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 4.69e-05/0.8532, allocations: 43.41 kB / 1.279 GB, free: 15.58 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.8532, allocations: 0 / 1.279 GB, free: 15.58 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.313e-05/0.8532, allocations: 0 / 1.279 GB, free: 15.58 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.711e-05/0.8533, allocations: 4 kB / 1.279 GB, free: 15.57 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.8533, allocations: 64 / 1.279 GB, free: 15.57 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001918/0.8535, allocations: 35.97 kB / 1.279 GB, free: 15.54 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.911e-05/0.8535, allocations: 4 kB / 1.279 GB, free: 15.54 MB / 0.9825 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 9.468e-05/0.8536, allocations: 126.3 kB / 1.279 GB, free: 15.4 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.831e-05/0.8536, allocations: 3.953 kB / 1.279 GB, free: 15.4 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.568e-05/0.8536, allocations: 11.91 kB / 1.279 GB, free: 15.38 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.8536, allocations: 0 / 1.279 GB, free: 15.38 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.8536, allocations: 3.938 kB / 1.279 GB, free: 15.38 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.295e-06/0.8536, allocations: 0 / 1.279 GB, free: 15.38 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001402/0.8538, allocations: 177.6 kB / 1.279 GB, free: 15.16 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.8538, allocations: 4 kB / 1.279 GB, free: 15.15 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.388e-05/0.8538, allocations: 0 / 1.279 GB, free: 15.15 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.462e-06/0.8538, allocations: 0 / 1.279 GB, free: 15.15 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.033e-06/0.8538, allocations: 4 kB / 1.279 GB, free: 15.15 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.8538, allocations: 3.938 kB / 1.279 GB, free: 15.14 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.8538, allocations: 0 / 1.279 GB, free: 15.14 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001313/0.8539, allocations: 93 kB / 1.279 GB, free: 15.04 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.832e-05/0.854, allocations: 81.11 kB / 1.279 GB, free: 14.94 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.391e-05/0.854, allocations: 0 / 1.279 GB, free: 14.94 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.096e-05/0.854, allocations: 11.94 kB / 1.279 GB, free: 14.93 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.501e-05/0.854, allocations: 4 kB / 1.279 GB, free: 14.92 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.802e-06/0.854, allocations: 3.984 kB / 1.279 GB, free: 14.92 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.775e-05/0.8541, allocations: 99.27 kB / 1.279 GB, free: 14.82 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9.1e-08/0.8541, allocations: 0 / 1.279 GB, free: 14.82 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002126/0.8543, allocations: 19.95 kB / 1.279 GB, free: 14.8 MB / 0.9825 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.0001655/0.8545, allocations: 99.25 kB / 1.279 GB, free: 14.69 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002362/0.8547, allocations: 127.3 kB / 1.28 GB, free: 14.55 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.8547, allocations: 0 / 1.28 GB, free: 14.55 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 3.558e-05/0.8548, allocations: 15.98 kB / 1.28 GB, free: 14.54 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000226/0.855, allocations: 19.92 kB / 1.28 GB, free: 14.52 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003414/0.8553, allocations: 165.8 kB / 1.28 GB, free: 14.33 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002982/0.8556, allocations: 0.6913 MB / 1.28 GB, free: 13.62 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.459e-05/0.8557, allocations: 4 kB / 1.28 GB, free: 13.61 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.001e-05/0.8557, allocations: 11.44 kB / 1.28 GB, free: 13.61 MB / 0.9825 GB Notification: Performance of SimCode: time 3.81e-07/0.8557, allocations: 0 / 1.28 GB, free: 13.61 MB / 0.9825 GB Notification: Performance of Templates: time 0.004249/0.8599, allocations: 1.352 MB / 1.282 GB, free: 12.27 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_Pulse.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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: 8.670109929982573]