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.001298/0.001298, allocations: 113.3 kB / 17.08 MB, free: 6 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.001332/0.001332, allocations: 193.2 kB / 20.03 MB, free: 3.07 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.418/1.418, allocations: 222.9 MB / 245.7 MB, free: 4.215 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.679/2.679, allocations: 437.1 MB / 0.7177 GB, free: 4.516 MB / 0.5606 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.002042/0.002042, allocations: 63.89 kB / 1.028 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3301/0.3321, allocations: 151.6 MB / 1.176 GB, free: 5.828 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse): time 0.001993/0.3342, allocations: 0.7199 MB / 1.177 GB, free: 5.102 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001641/0.3358, allocations: 1.136 MB / 1.178 GB, free: 3.949 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.449e-05/0.3359, allocations: 0 / 1.178 GB, free: 3.949 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.206e-05/0.3359, allocations: 11.88 kB / 1.178 GB, free: 3.938 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 8.452e-05/0.3361, allocations: 3.938 kB / 1.178 GB, free: 3.934 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005369/0.3366, allocations: 143.2 kB / 1.178 GB, free: 3.797 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0002071/0.3368, allocations: 127.8 kB / 1.178 GB, free: 3.672 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 9.069e-05/0.3369, allocations: 15.98 kB / 1.178 GB, free: 3.656 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001018/0.337, allocations: 47.86 kB / 1.178 GB, free: 3.609 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001224/0.3371, allocations: 39.88 kB / 1.178 GB, free: 3.57 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 3.232e-05/0.3372, allocations: 12 kB / 1.178 GB, free: 3.559 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 8.609e-05/0.3373, allocations: 23.98 kB / 1.178 GB, free: 3.535 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 3.085e-05/0.3373, allocations: 15.92 kB / 1.178 GB, free: 3.52 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 7.518e-05/0.3374, allocations: 43.84 kB / 1.178 GB, free: 3.477 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002236/0.3376, allocations: 131.6 kB / 1.178 GB, free: 3.348 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 8.236e-06/0.3376, allocations: 4 kB / 1.178 GB, free: 3.344 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.813e-06/0.3377, allocations: 4 kB / 1.178 GB, free: 3.34 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.411e-06/0.3377, allocations: 0 / 1.178 GB, free: 3.34 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.0006196/0.3383, allocations: 400.9 kB / 1.179 GB, free: 2.891 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.706e-05/0.3383, allocations: 8.031 kB / 1.179 GB, free: 2.883 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.426e-05/0.3384, allocations: 12.89 kB / 1.179 GB, free: 2.871 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001763/0.3386, allocations: 172.3 kB / 1.179 GB, free: 2.664 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.132e-05/0.3386, allocations: 4.375 kB / 1.179 GB, free: 2.66 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.616e-05/0.3386, allocations: 12.31 kB / 1.179 GB, free: 2.648 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001003/0.3387, allocations: 38.25 kB / 1.179 GB, free: 2.605 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.3388, allocations: 8.172 kB / 1.179 GB, free: 2.598 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.41e-05/0.3388, allocations: 7.938 kB / 1.179 GB, free: 2.59 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.637e-06/0.3388, allocations: 0 / 1.179 GB, free: 2.59 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.523e-05/0.3388, allocations: 11.94 kB / 1.179 GB, free: 2.578 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005102/0.3394, allocations: 328.8 kB / 1.179 GB, free: 2.207 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 7.779e-05/0.3394, allocations: 30.52 kB / 1.179 GB, free: 2.168 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.976e-05/0.3395, allocations: 16.91 kB / 1.179 GB, free: 2.148 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.337e-05/0.3395, allocations: 7.984 kB / 1.179 GB, free: 2.141 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001744/0.3397, allocations: 71.28 kB / 1.179 GB, free: 2.059 MB / 0.92 GB Notification: Performance of pre-optimization done (n=4): time 1.302e-06/0.3397, allocations: 0 / 1.179 GB, free: 2.059 MB / 0.92 GB Notification: Performance of matching and sorting (n=4): time 0.0002353/0.3399, allocations: 69.69 kB / 1.179 GB, free: 1.984 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.329e-05/0.34, allocations: 51.41 kB / 1.179 GB, free: 1.922 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001305/0.3401, allocations: 133.7 kB / 1.18 GB, free: 1.781 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 4.266e-05/0.3402, allocations: 29.7 kB / 1.18 GB, free: 1.746 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 6.616e-05/0.3402, allocations: 92.14 kB / 1.18 GB, free: 1.652 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.582e-05/0.3403, allocations: 7.953 kB / 1.18 GB, free: 1.645 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.815e-05/0.3404, allocations: 33.69 kB / 1.18 GB, free: 1.605 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001523/0.3405, allocations: 314.8 kB / 1.18 GB, free: 1.289 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.8e-05/0.3406, allocations: 43.86 kB / 1.18 GB, free: 1.246 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001092/0.3407, allocations: 66.52 kB / 1.18 GB, free: 1.172 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001393/0.3409, allocations: 92.22 kB / 1.18 GB, free: 1.066 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.3409, allocations: 3.984 kB / 1.18 GB, free: 1.062 MB / 0.92 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003098/0.3412, allocations: 159.2 kB / 1.18 GB, free: 0.8945 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 4.699e-05/0.3413, allocations: 39.89 kB / 1.18 GB, free: 0.8516 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.046e-05/0.3413, allocations: 4 kB / 1.18 GB, free: 0.8477 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.488e-05/0.3413, allocations: 3.938 kB / 1.18 GB, free: 0.8438 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.436e-05/0.3414, allocations: 0 / 1.18 GB, free: 0.8438 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.949e-06/0.3414, allocations: 4 kB / 1.18 GB, free: 0.8398 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002149/0.3416, allocations: 32.02 kB / 1.18 GB, free: 0.8086 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.167e-05/0.3416, allocations: 8 kB / 1.181 GB, free: 0.8008 MB / 0.92 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.0001055/0.3417, allocations: 117.8 kB / 1.181 GB, free: 0.6758 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.761e-05/0.3418, allocations: 11.89 kB / 1.181 GB, free: 0.6641 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.743e-05/0.3418, allocations: 3.906 kB / 1.181 GB, free: 0.6523 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.3418, allocations: 7.984 kB / 1.181 GB, free: 0.6445 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/0.3418, allocations: 4.062 kB / 1.181 GB, free: 0.6406 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.3418, allocations: 4 kB / 1.181 GB, free: 0.6367 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001609/0.342, allocations: 169.6 kB / 1.181 GB, free: 432 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.342, allocations: 0 / 1.181 GB, free: 432 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.906e-05/0.342, allocations: 4 kB / 1.181 GB, free: 428 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.342, allocations: 0 / 1.181 GB, free: 428 kB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.147e-05/0.3421, allocations: 7.984 kB / 1.181 GB, free: 420 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.3421, allocations: 0 / 1.181 GB, free: 420 kB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.3421, allocations: 4 kB / 1.181 GB, free: 416 kB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000145/0.3422, allocations: 92.95 kB / 1.181 GB, free: 304 kB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 5.54e-05/0.3423, allocations: 89.05 kB / 1.181 GB, free: 196 kB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.881e-05/0.3423, allocations: 3.984 kB / 1.181 GB, free: 192 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.941e-05/0.3423, allocations: 0 / 1.181 GB, free: 192 kB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.899e-05/0.3424, allocations: 0 / 1.181 GB, free: 192 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.777e-06/0.3424, allocations: 4 kB / 1.181 GB, free: 188 kB / 0.92 GB Notification: Performance of sorting global known variables: time 8.502e-05/0.3425, allocations: 99.27 kB / 1.181 GB, free: 88 kB / 0.92 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3425, allocations: 0 / 1.181 GB, free: 88 kB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002334/0.3427, allocations: 16 kB / 1.181 GB, free: 72 kB / 0.92 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.0002135/0.3429, allocations: 107.2 kB / 1.181 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002834/0.3432, allocations: 139.3 kB / 1.181 GB, free: 15.81 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.3432, allocations: 0 / 1.181 GB, free: 15.81 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 4.12e-05/0.3433, allocations: 12 kB / 1.181 GB, free: 15.8 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002381/0.3435, allocations: 26.09 kB / 1.181 GB, free: 15.77 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003585/0.3439, allocations: 178.8 kB / 1.182 GB, free: 15.57 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003452/0.3443, allocations: 0.6846 MB / 1.182 GB, free: 14.86 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.352e-05/0.3443, allocations: 7.438 kB / 1.182 GB, free: 14.85 MB / 0.9356 GB Notification: Performance of SimCode: time 2.3e-07/0.3443, allocations: 0 / 1.182 GB, free: 14.85 MB / 0.9356 GB Notification: Performance of Templates: time 0.003308/0.3476, allocations: 1.161 MB / 1.183 GB, free: 13.7 MB / 0.9356 GB " [Timeout remaining time 300] 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 10.333853538963012]