Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.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.001422/0.001422, allocations: 80.3 kB / 21.47 MB, free: 3.027 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.001573/0.001573, allocations: 169.9 kB / 24.86 MB, free: 9.27 MB / 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 0.9943/0.9943, allocations: 177.1 MB / 205.3 MB, free: 5.469 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.962/1.962, allocations: 377.9 MB / 0.6247 GB, free: 8.383 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.Reals.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pulse.y",fileNamePrefix="Buildings_12_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_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.224e-06/2.224e-06, allocations: 0.7656 kB / 0.8128 GB, free: 1.387 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.081e-05/2.303e-05, allocations: 7.781 kB / 0.8128 GB, free: 1.379 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse): time 0.001765/0.001789, allocations: 0.7367 MB / 0.8135 GB, free: 0.6602 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001557/0.003346, allocations: 1.183 MB / 0.8147 GB, free: 15.46 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.625e-05/0.003402, allocations: 0.9375 kB / 0.8147 GB, free: 15.46 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 3.077e-05/0.003433, allocations: 3.938 kB / 0.8147 GB, free: 15.46 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 9.939e-05/0.003532, allocations: 9.406 kB / 0.8147 GB, free: 15.45 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004221/0.003954, allocations: 131.6 kB / 0.8148 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001854/0.00414, allocations: 127.8 kB / 0.815 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 8.492e-05/0.004225, allocations: 5.688 kB / 0.815 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001242/0.004349, allocations: 71.81 kB / 0.815 GB, free: 15.12 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001046/0.004453, allocations: 39.83 kB / 0.8151 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.654e-05/0.00448, allocations: 12 kB / 0.8151 GB, free: 15.07 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 6.468e-05/0.004545, allocations: 29.36 kB / 0.8151 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 2.451e-05/0.004569, allocations: 7.938 kB / 0.8151 GB, free: 15.04 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 4.734e-05/0.004616, allocations: 31.97 kB / 0.8151 GB, free: 15.01 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001615/0.004778, allocations: 91.77 kB / 0.8152 GB, free: 14.92 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.264e-06/0.00478, allocations: 5.75 kB / 0.8152 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of FrontEnd: time 6.91e-07/0.004781, allocations: 0 / 0.8152 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.928e-06/0.004785, allocations: 0 / 0.8152 GB, free: 14.91 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004459/0.005231, allocations: 426.1 kB / 0.8156 GB, free: 14.45 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.794e-05/0.005269, allocations: 9.375 kB / 0.8157 GB, free: 14.45 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.928e-05/0.005318, allocations: 12.89 kB / 0.8157 GB, free: 14.43 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001017/0.00542, allocations: 116.6 kB / 0.8158 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.087e-05/0.005441, allocations: 8.359 kB / 0.8158 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.801e-05/0.005459, allocations: 6.281 kB / 0.8158 GB, free: 14.28 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.974e-05/0.005538, allocations: 46.95 kB / 0.8158 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.366e-06/0.005547, allocations: 192 / 0.8158 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.583e-06/0.005553, allocations: 384 / 0.8158 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.00556, allocations: 4.375 kB / 0.8158 GB, free: 14.22 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.228e-05/0.005582, allocations: 10.34 kB / 0.8159 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003408/0.005923, allocations: 292.3 kB / 0.8161 GB, free: 13.9 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 6.248e-05/0.005985, allocations: 31.06 kB / 0.8162 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.51e-05/0.006, allocations: 11.62 kB / 0.8162 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 5.941e-06/0.006006, allocations: 0 / 0.8162 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.432e-05/0.006101, allocations: 69.81 kB / 0.8162 GB, free: 13.76 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=4): time 1.403e-06/0.006102, allocations: 0 / 0.8162 GB, free: 13.76 MB / 0.7761 GB Notification: Performance of matching and sorting (n=4): time 0.0001705/0.006272, allocations: 74.2 kB / 0.8163 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.274e-05/0.006305, allocations: 59.41 kB / 0.8164 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001034/0.006409, allocations: 179.5 kB / 0.8165 GB, free: 13.42 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.059e-05/0.006429, allocations: 25.7 kB / 0.8166 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 6.137e-05/0.006491, allocations: 142.8 kB / 0.8167 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.501e-05/0.006506, allocations: 3.953 kB / 0.8167 GB, free: 13.24 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.318e-05/0.006569, allocations: 44 kB / 0.8167 GB, free: 13.19 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001306/0.006699, allocations: 0.4884 MB / 0.8172 GB, free: 12.69 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.483e-05/0.006774, allocations: 54.91 kB / 0.8173 GB, free: 12.63 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.385e-05/0.006848, allocations: 76.73 kB / 0.8173 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.008e-05/0.006938, allocations: 85.84 kB / 0.8174 GB, free: 12.44 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.006941, allocations: 0 / 0.8174 GB, free: 12.44 MB / 0.7761 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002358/0.007176, allocations: 174.1 kB / 0.8176 GB, free: 12.25 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 3.473e-05/0.007211, allocations: 37.69 kB / 0.8176 GB, free: 12.21 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/0.007217, allocations: 3.938 kB / 0.8176 GB, free: 12.2 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.939e-06/0.007227, allocations: 0.5625 kB / 0.8176 GB, free: 12.2 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.364e-05/0.007281, allocations: 12.84 kB / 0.8176 GB, free: 12.19 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.507e-06/0.007284, allocations: 0 / 0.8176 GB, free: 12.19 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001327/0.007417, allocations: 28.72 kB / 0.8177 GB, free: 12.16 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.946e-05/0.007437, allocations: 9.766 kB / 0.8177 GB, free: 12.16 MB / 0.7761 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 8.298e-05/0.00752, allocations: 160.6 kB / 0.8178 GB, free: 11.99 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.372e-05/0.007533, allocations: 8 kB / 0.8178 GB, free: 11.98 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.231e-05/0.007556, allocations: 7.938 kB / 0.8179 GB, free: 11.97 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-06/0.007558, allocations: 0.8125 kB / 0.8179 GB, free: 11.97 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.007561, allocations: 4 kB / 0.8179 GB, free: 11.97 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.007564, allocations: 2.312 kB / 0.8179 GB, free: 11.97 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.931e-05/0.007653, allocations: 105.2 kB / 0.818 GB, free: 11.84 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.007657, allocations: 3.984 kB / 0.818 GB, free: 11.84 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.471e-05/0.007672, allocations: 0 / 0.818 GB, free: 11.84 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.007674, allocations: 3.938 kB / 0.818 GB, free: 11.83 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.987e-06/0.007678, allocations: 0 / 0.818 GB, free: 11.83 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.007679, allocations: 4 kB / 0.818 GB, free: 11.83 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.007681, allocations: 5.969 kB / 0.818 GB, free: 11.82 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001177/0.007799, allocations: 96.31 kB / 0.8181 GB, free: 11.71 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.495e-05/0.007814, allocations: 11.94 kB / 0.8181 GB, free: 11.7 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.15e-05/0.007825, allocations: 0 / 0.8181 GB, free: 11.7 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.973e-05/0.007845, allocations: 0 / 0.8181 GB, free: 11.7 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.964e-05/0.007865, allocations: 4.438 kB / 0.8181 GB, free: 11.69 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.139e-06/0.00787, allocations: 4 kB / 0.8181 GB, free: 11.69 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 5.396e-05/0.007924, allocations: 135.7 kB / 0.8182 GB, free: 11.55 MB / 0.7761 GB Notification: Performance of sort global known variables: time 9e-08/0.007924, allocations: 1.344 kB / 0.8182 GB, free: 11.55 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002397/0.008164, allocations: 16 kB / 0.8182 GB, free: 11.54 MB / 0.7761 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.0001146/0.008278, allocations: 107.9 kB / 0.8183 GB, free: 11.42 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001936/0.008472, allocations: 149.3 kB / 0.8185 GB, free: 11.25 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.008474, allocations: 0 / 0.8185 GB, free: 11.25 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.489e-05/0.008498, allocations: 15.25 kB / 0.8185 GB, free: 11.24 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002112/0.00871, allocations: 24.81 kB / 0.8185 GB, free: 11.21 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002632/0.008973, allocations: 142.1 kB / 0.8187 GB, free: 11.05 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.96e-05/0.009012, allocations: 59.22 kB / 0.8187 GB, free: 10.97 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.659e-05/0.009039, allocations: 7.984 kB / 0.8187 GB, free: 10.96 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000101/0.00914, allocations: 88.28 kB / 0.8188 GB, free: 10.88 MB / 0.7761 GB Notification: Performance of SimCode: time 7.31e-07/0.009141, allocations: 0 / 0.8188 GB, free: 10.88 MB / 0.7761 GB Notification: Performance of Templates: time 0.004246/0.01339, allocations: 1.661 MB / 0.8204 GB, free: 9.273 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_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.2860532770864666]