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.00097/0.00097, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.001016/0.001016, allocations: 169 kB / 24.28 MB, free: 280 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 0.9267/0.9267, allocations: 177.1 MB / 204.6 MB, free: 5.621 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.952/1.952, allocations: 377.8 MB / 0.6239 GB, free: 8.531 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.144e-06/2.144e-06, allocations: 3.938 kB / 0.8116 GB, free: 2.02 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.299e-05/2.514e-05, allocations: 2.312 kB / 0.8116 GB, free: 2.016 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse): time 0.001355/0.00138, allocations: 0.7424 MB / 0.8123 GB, free: 1.297 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001272/0.002652, allocations: 1.175 MB / 0.8134 GB, free: 112 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.843e-05/0.002711, allocations: 4 kB / 0.8134 GB, free: 108 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 3.25e-05/0.002743, allocations: 6.375 kB / 0.8134 GB, free: 104 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.0001014/0.002844, allocations: 15.86 kB / 0.8135 GB, free: 88 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004941/0.003339, allocations: 127.7 kB / 0.8136 GB, free: 15.96 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001563/0.003495, allocations: 123.8 kB / 0.8137 GB, free: 15.84 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 9.304e-05/0.003588, allocations: 17.39 kB / 0.8137 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 9.389e-05/0.003682, allocations: 59.81 kB / 0.8138 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 8.486e-05/0.003767, allocations: 43.81 kB / 0.8138 GB, free: 15.72 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.043e-05/0.003787, allocations: 12 kB / 0.8138 GB, free: 15.71 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 5.502e-05/0.003842, allocations: 25.48 kB / 0.8139 GB, free: 15.69 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 2.081e-05/0.003863, allocations: 11.94 kB / 0.8139 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 4.627e-05/0.003909, allocations: 31.97 kB / 0.8139 GB, free: 15.64 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001508/0.00406, allocations: 95.75 kB / 0.814 GB, free: 15.55 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.555e-06/0.004062, allocations: 0.5312 kB / 0.814 GB, free: 15.55 MB / 0.7761 GB Notification: Performance of FrontEnd: time 7.91e-07/0.004063, allocations: 0.5312 kB / 0.814 GB, free: 15.55 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.949e-06/0.004068, allocations: 4 kB / 0.814 GB, free: 15.55 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.0004111/0.004479, allocations: 419.1 kB / 0.8144 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.392e-05/0.004513, allocations: 12.03 kB / 0.8144 GB, free: 15.08 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.996e-05/0.004563, allocations: 9.547 kB / 0.8144 GB, free: 15.07 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.185e-05/0.004655, allocations: 120.5 kB / 0.8145 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.972e-05/0.004675, allocations: 4.906 kB / 0.8145 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.576e-05/0.004691, allocations: 8.375 kB / 0.8145 GB, free: 14.92 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.995e-05/0.00477, allocations: 48.33 kB / 0.8146 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.951e-06/0.004776, allocations: 192 / 0.8146 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.015e-06/0.004784, allocations: 384 / 0.8146 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.231e-06/0.004791, allocations: 5.531 kB / 0.8146 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.632e-05/0.004817, allocations: 15.86 kB / 0.8146 GB, free: 14.84 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000375/0.005192, allocations: 307.7 kB / 0.8149 GB, free: 14.51 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 5.46e-05/0.005247, allocations: 31.98 kB / 0.8149 GB, free: 14.46 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.016e-05/0.005267, allocations: 15.75 kB / 0.8149 GB, free: 14.45 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 6.182e-06/0.005273, allocations: 0.9062 kB / 0.8149 GB, free: 14.45 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.762e-05/0.005361, allocations: 64.98 kB / 0.815 GB, free: 14.37 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=4): time 1.703e-06/0.005362, allocations: 1.031 kB / 0.815 GB, free: 14.37 MB / 0.7761 GB Notification: Performance of matching and sorting (n=4): time 0.0001659/0.005528, allocations: 77.56 kB / 0.8151 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.891e-05/0.005557, allocations: 51.41 kB / 0.8151 GB, free: 14.22 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.877e-05/0.005646, allocations: 178.8 kB / 0.8153 GB, free: 14.03 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.634e-05/0.005662, allocations: 29.7 kB / 0.8153 GB, free: 14 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 5.384e-05/0.005716, allocations: 144.3 kB / 0.8155 GB, free: 13.85 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.072e-05/0.005727, allocations: 3.953 kB / 0.8155 GB, free: 13.85 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.758e-05/0.005774, allocations: 35.36 kB / 0.8155 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.000103/0.005877, allocations: 0.4923 MB / 0.816 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.782e-05/0.005945, allocations: 54.91 kB / 0.816 GB, free: 13.24 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.81e-05/0.006013, allocations: 88.73 kB / 0.8161 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.672e-05/0.00609, allocations: 95.8 kB / 0.8162 GB, free: 13.03 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.006092, allocations: 0 / 0.8162 GB, free: 13.03 MB / 0.7761 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001772/0.006269, allocations: 177 kB / 0.8164 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 3.075e-05/0.0063, allocations: 45.62 kB / 0.8164 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.137e-06/0.006304, allocations: 0 / 0.8164 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.162e-05/0.006316, allocations: 0 / 0.8164 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.103e-05/0.006367, allocations: 4 kB / 0.8164 GB, free: 12.78 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.006374, allocations: 4.438 kB / 0.8164 GB, free: 12.78 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001055/0.006479, allocations: 29.94 kB / 0.8165 GB, free: 12.75 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.248e-05/0.006491, allocations: 7.984 kB / 0.8165 GB, free: 12.74 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 7.015e-05/0.006562, allocations: 160.6 kB / 0.8166 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.457e-05/0.006576, allocations: 8.172 kB / 0.8166 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.374e-05/0.0066, allocations: 13.58 kB / 0.8166 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.925e-06/0.006603, allocations: 4 kB / 0.8166 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.006e-06/0.006606, allocations: 0 / 0.8166 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.006609, allocations: 0 / 0.8166 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.054e-05/0.006679, allocations: 129.5 kB / 0.8168 GB, free: 12.39 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.00668, allocations: 0 / 0.8168 GB, free: 12.39 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.093e-05/0.006691, allocations: 4 kB / 0.8168 GB, free: 12.39 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.102e-06/0.006692, allocations: 0.8438 kB / 0.8168 GB, free: 12.39 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.013e-06/0.006699, allocations: 3.938 kB / 0.8168 GB, free: 12.38 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.32e-07/0.0067, allocations: 0.8438 kB / 0.8168 GB, free: 12.38 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.006701, allocations: 0 / 0.8168 GB, free: 12.38 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.564e-05/0.006787, allocations: 104.3 kB / 0.8169 GB, free: 12.26 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.172e-05/0.006798, allocations: 5.234 kB / 0.8169 GB, free: 12.25 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.053e-05/0.006819, allocations: 7.938 kB / 0.8169 GB, free: 12.25 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.391e-05/0.006833, allocations: 0 / 0.8169 GB, free: 12.25 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.479e-05/0.006858, allocations: 4.828 kB / 0.8169 GB, free: 12.24 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.421e-06/0.006863, allocations: 8 kB / 0.8169 GB, free: 12.23 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.584e-05/0.006909, allocations: 133.7 kB / 0.817 GB, free: 12.11 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.006909, allocations: 0 / 0.817 GB, free: 12.11 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001425/0.007051, allocations: 20 kB / 0.8171 GB, free: 12.09 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.0001246/0.007176, allocations: 103.2 kB / 0.8172 GB, free: 11.97 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001677/0.007344, allocations: 148.7 kB / 0.8173 GB, free: 11.8 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.007345, allocations: 2.938 kB / 0.8173 GB, free: 11.8 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.273e-05/0.007368, allocations: 19.67 kB / 0.8173 GB, free: 11.78 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001851/0.007553, allocations: 15.98 kB / 0.8173 GB, free: 11.77 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002679/0.007821, allocations: 142.2 kB / 0.8175 GB, free: 11.6 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.375e-05/0.007855, allocations: 66.38 kB / 0.8175 GB, free: 11.52 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.039e-05/0.007875, allocations: 4 kB / 0.8175 GB, free: 11.51 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.011e-05/0.007895, allocations: 13.59 kB / 0.8175 GB, free: 11.5 MB / 0.7761 GB Notification: Performance of SimCode: time 6.21e-07/0.007896, allocations: 0 / 0.8175 GB, free: 11.5 MB / 0.7761 GB Notification: Performance of Templates: time 0.003151/0.01105, allocations: 1.499 MB / 0.819 GB, free: 10.05 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.175348595017567]