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.00157/0.00157, allocations: 71.75 kB / 20.97 MB, free: 3.582 MB / 18.57 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.001657/0.001657, allocations: 169 kB / 24.28 MB, free: 284 kB / 18.57 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.056/1.056, allocations: 177.1 MB / 204.6 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.932/1.932, allocations: 377.8 MB / 0.6239 GB, free: 8.555 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 1.873e-06/1.873e-06, allocations: 1.094 kB / 0.8115 GB, free: 2.051 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.685e-05/1.873e-05, allocations: 3.312 kB / 0.8115 GB, free: 2.047 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.001478/0.001497, allocations: 0.9619 MB / 0.8125 GB, free: 1.105 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001501/0.002998, allocations: 1.476 MB / 0.8139 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.236e-05/0.00306, allocations: 4 kB / 0.8139 GB, free: 15.61 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 4.022e-05/0.0031, allocations: 19.73 kB / 0.8139 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001145/0.003215, allocations: 65.41 kB / 0.814 GB, free: 15.53 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006767/0.003892, allocations: 420 kB / 0.8144 GB, free: 15.12 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.000384/0.004276, allocations: 0.4959 MB / 0.8149 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 9.459e-05/0.00437, allocations: 26.83 kB / 0.8149 GB, free: 14.6 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002316/0.004602, allocations: 267.6 kB / 0.8152 GB, free: 14.34 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001557/0.004758, allocations: 140.8 kB / 0.8153 GB, free: 14.2 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 4.885e-05/0.004806, allocations: 48 kB / 0.8153 GB, free: 14.15 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 7.884e-05/0.004885, allocations: 59.98 kB / 0.8154 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 3.209e-05/0.004917, allocations: 37.59 kB / 0.8154 GB, free: 14.06 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001054/0.005023, allocations: 135.8 kB / 0.8156 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002858/0.005309, allocations: 343.1 kB / 0.8159 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.954e-06/0.005311, allocations: 0 / 0.8159 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of FrontEnd: time 7.31e-07/0.005311, allocations: 0 / 0.8159 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.948e-06/0.005315, allocations: 5.156 kB / 0.8159 GB, free: 13.59 MB / 0.7761 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.0005762/0.005891, allocations: 0.6546 MB / 0.8165 GB, free: 12.87 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.594e-05/0.005927, allocations: 12.03 kB / 0.8166 GB, free: 12.86 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.061e-05/0.006008, allocations: 37.3 kB / 0.8166 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001299/0.006138, allocations: 168.8 kB / 0.8168 GB, free: 12.63 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.719e-05/0.006165, allocations: 16.31 kB / 0.8168 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.522e-05/0.0062, allocations: 20.38 kB / 0.8168 GB, free: 12.6 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001453/0.006346, allocations: 135.4 kB / 0.8169 GB, free: 12.44 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/0.006353, allocations: 192 / 0.8169 GB, free: 12.44 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.544e-05/0.006369, allocations: 4.359 kB / 0.8169 GB, free: 12.44 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.308e-06/0.006378, allocations: 4.375 kB / 0.8169 GB, free: 12.43 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.71e-05/0.006435, allocations: 31.86 kB / 0.817 GB, free: 12.4 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006241/0.007059, allocations: 0.9039 MB / 0.8178 GB, free: 11.45 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001063/0.007165, allocations: 136.8 kB / 0.818 GB, free: 11.27 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.219e-05/0.007208, allocations: 48.2 kB / 0.818 GB, free: 11.2 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 6.923e-06/0.007215, allocations: 0 / 0.818 GB, free: 11.2 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001649/0.007379, allocations: 183.5 kB / 0.8182 GB, free: 10.99 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=16): time 1.072e-06/0.007381, allocations: 4.531 kB / 0.8182 GB, free: 10.99 MB / 0.7761 GB Notification: Performance of matching and sorting (n=16): time 0.0002968/0.007677, allocations: 186.1 kB / 0.8184 GB, free: 10.8 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.62e-05/0.007733, allocations: 136.5 kB / 0.8185 GB, free: 10.64 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001813/0.007915, allocations: 286.2 kB / 0.8188 GB, free: 10.34 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 3.736e-05/0.007952, allocations: 37.7 kB / 0.8188 GB, free: 10.3 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 9.273e-05/0.008045, allocations: 175.3 kB / 0.819 GB, free: 10.12 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.756e-05/0.008072, allocations: 35.72 kB / 0.819 GB, free: 10.09 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001092/0.008182, allocations: 99.31 kB / 0.8191 GB, free: 9.98 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.00012/0.008302, allocations: 0.5007 MB / 0.8196 GB, free: 9.469 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002253/0.008527, allocations: 226.9 kB / 0.8198 GB, free: 9.219 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002375/0.008765, allocations: 349.3 kB / 0.8201 GB, free: 8.805 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002609/0.009025, allocations: 353.7 kB / 0.8205 GB, free: 8.387 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.009028, allocations: 4 kB / 0.8205 GB, free: 8.383 MB / 0.7761 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005821/0.00961, allocations: 0.6255 MB / 0.8211 GB, free: 7.703 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 6.179e-05/0.009672, allocations: 131.7 kB / 0.8212 GB, free: 7.551 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.009679, allocations: 4 kB / 0.8212 GB, free: 7.547 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.477e-05/0.009694, allocations: 9.328 kB / 0.8212 GB, free: 7.539 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.639e-05/0.00975, allocations: 11.94 kB / 0.8212 GB, free: 7.527 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/0.009758, allocations: 4 kB / 0.8212 GB, free: 7.523 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002626/0.01002, allocations: 86.81 kB / 0.8213 GB, free: 7.441 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.507e-05/0.01006, allocations: 31.97 kB / 0.8214 GB, free: 7.41 MB / 0.7761 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.0001068/0.01016, allocations: 185.6 kB / 0.8215 GB, free: 7.219 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.624e-05/0.01019, allocations: 23.86 kB / 0.8216 GB, free: 7.195 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.747e-05/0.01023, allocations: 28.77 kB / 0.8216 GB, free: 7.172 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.484e-06/0.01023, allocations: 3.938 kB / 0.8216 GB, free: 7.168 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.9e-06/0.01023, allocations: 4 kB / 0.8216 GB, free: 7.164 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.768e-06/0.01024, allocations: 0 / 0.8216 GB, free: 7.164 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001423/0.01038, allocations: 188.5 kB / 0.8218 GB, free: 6.945 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.01038, allocations: 4 kB / 0.8218 GB, free: 6.941 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.433e-05/0.01041, allocations: 15.92 kB / 0.8218 GB, free: 6.926 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.01041, allocations: 0 / 0.8218 GB, free: 6.926 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.768e-06/0.01042, allocations: 8 kB / 0.8218 GB, free: 6.918 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.684e-06/0.01042, allocations: 0.5 kB / 0.8218 GB, free: 6.918 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.457e-06/0.01042, allocations: 5.516 kB / 0.8218 GB, free: 6.914 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001889/0.01061, allocations: 224.7 kB / 0.822 GB, free: 6.66 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 2.297e-05/0.01063, allocations: 21.28 kB / 0.822 GB, free: 6.641 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.869e-05/0.01065, allocations: 7.984 kB / 0.8221 GB, free: 6.633 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.902e-05/0.01068, allocations: 0 / 0.8221 GB, free: 6.633 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.774e-05/0.01072, allocations: 20.75 kB / 0.8221 GB, free: 6.613 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.896e-06/0.01073, allocations: 11.98 kB / 0.8221 GB, free: 6.602 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 9.81e-05/0.01083, allocations: 193.1 kB / 0.8223 GB, free: 6.418 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.01083, allocations: 0.5625 kB / 0.8223 GB, free: 6.418 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002285/0.01106, allocations: 72.98 kB / 0.8223 GB, free: 6.348 MB / 0.7761 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.0001167/0.01117, allocations: 115.8 kB / 0.8224 GB, free: 6.223 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0004446/0.01162, allocations: 0.5529 MB / 0.823 GB, free: 5.594 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.01162, allocations: 7.656 kB / 0.823 GB, free: 5.59 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 6.08e-05/0.01168, allocations: 55.58 kB / 0.823 GB, free: 5.531 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002735/0.01195, allocations: 65.25 kB / 0.8231 GB, free: 5.469 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004691/0.01242, allocations: 343.3 kB / 0.8234 GB, free: 5.094 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.269e-05/0.01247, allocations: 75.84 kB / 0.8235 GB, free: 5 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 6.819e-05/0.01254, allocations: 18.73 kB / 0.8235 GB, free: 4.98 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.362e-05/0.01259, allocations: 21.56 kB / 0.8235 GB, free: 4.961 MB / 0.7761 GB Notification: Performance of SimCode: time 8.02e-07/0.01259, allocations: 0 / 0.8235 GB, free: 4.961 MB / 0.7761 GB Notification: Performance of Templates: time 0.006266/0.01885, allocations: 5.074 MB / 0.8285 GB, free: 28 kB / 0.7761 GB " [Timeout remaining time 300] 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=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.318833041004837]