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.001428/0.001428, 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.001766/0.001766, allocations: 168.2 kB / 24.86 MB, free: 8.879 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 1.025/1.025, allocations: 177.1 MB / 205.3 MB, free: 5.066 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.93/1.93, allocations: 377.9 MB / 0.6247 GB, free: 8.426 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 2.204e-06/2.204e-06, allocations: 0.6562 kB / 0.8128 GB, free: 1.48 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.517e-05/2.737e-05, allocations: 6.25 kB / 0.8128 GB, free: 1.473 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.0018/0.001828, allocations: 0.9407 MB / 0.8137 GB, free: 0.5508 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001625/0.003453, allocations: 1.484 MB / 0.8152 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.919e-05/0.003553, allocations: 5.031 kB / 0.8152 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 4.533e-05/0.003598, allocations: 15.8 kB / 0.8152 GB, free: 15.04 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001519/0.00375, allocations: 64.09 kB / 0.8152 GB, free: 14.97 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008746/0.004624, allocations: 430.3 kB / 0.8156 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0005476/0.005172, allocations: 499 kB / 0.8161 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001168/0.005289, allocations: 33.89 kB / 0.8162 GB, free: 14.03 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002884/0.005577, allocations: 261.1 kB / 0.8164 GB, free: 13.78 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000182/0.005759, allocations: 139.6 kB / 0.8165 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 5.32e-05/0.005812, allocations: 48 kB / 0.8166 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 9.946e-05/0.005912, allocations: 56 kB / 0.8166 GB, free: 13.54 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 3.867e-05/0.00595, allocations: 48.27 kB / 0.8167 GB, free: 13.49 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.000115/0.006065, allocations: 131.8 kB / 0.8168 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0003829/0.006448, allocations: 344.4 kB / 0.8171 GB, free: 13.03 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.006453, allocations: 0 / 0.8171 GB, free: 13.03 MB / 0.7761 GB Notification: Performance of FrontEnd: time 2.435e-06/0.006455, allocations: 0 / 0.8171 GB, free: 13.03 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.78e-06/0.006461, allocations: 1.938 kB / 0.8171 GB, free: 13.03 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.0009515/0.007412, allocations: 0.6546 MB / 0.8178 GB, free: 12.31 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.233e-05/0.007455, allocations: 15.97 kB / 0.8178 GB, free: 12.29 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.701e-05/0.007542, allocations: 36.8 kB / 0.8178 GB, free: 12.26 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001324/0.007674, allocations: 167.7 kB / 0.818 GB, free: 12.07 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.898e-05/0.007703, allocations: 22.34 kB / 0.818 GB, free: 12.05 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.586e-05/0.007739, allocations: 20.38 kB / 0.818 GB, free: 12.03 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001307/0.00787, allocations: 113.7 kB / 0.8181 GB, free: 11.89 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.806e-06/0.007878, allocations: 192 / 0.8181 GB, free: 11.89 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.205e-05/0.00789, allocations: 12.36 kB / 0.8181 GB, free: 11.88 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.131e-06/0.007897, allocations: 384 / 0.8181 GB, free: 11.88 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.94e-05/0.007936, allocations: 28.42 kB / 0.8182 GB, free: 11.86 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005773/0.008513, allocations: 0.8691 MB / 0.819 GB, free: 10.95 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001004/0.008614, allocations: 132.8 kB / 0.8191 GB, free: 10.77 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.644e-05/0.00865, allocations: 48.23 kB / 0.8192 GB, free: 10.7 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 9.899e-06/0.00866, allocations: 7.984 kB / 0.8192 GB, free: 10.7 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001622/0.008822, allocations: 179.5 kB / 0.8194 GB, free: 10.49 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=16): time 8.62e-07/0.008823, allocations: 0.5312 kB / 0.8194 GB, free: 10.49 MB / 0.7761 GB Notification: Performance of matching and sorting (n=16): time 0.0002734/0.009096, allocations: 174.7 kB / 0.8195 GB, free: 10.31 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.436e-05/0.009161, allocations: 136.5 kB / 0.8197 GB, free: 10.15 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001601/0.009321, allocations: 276.2 kB / 0.8199 GB, free: 9.863 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 3.645e-05/0.009357, allocations: 38.86 kB / 0.82 GB, free: 9.82 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 8.974e-05/0.009447, allocations: 187.2 kB / 0.8201 GB, free: 9.633 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.369e-05/0.009471, allocations: 31.73 kB / 0.8202 GB, free: 9.602 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001099/0.009581, allocations: 100.6 kB / 0.8203 GB, free: 9.496 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001251/0.009706, allocations: 0.504 MB / 0.8208 GB, free: 8.98 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001679/0.009874, allocations: 210.9 kB / 0.821 GB, free: 8.746 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002051/0.01008, allocations: 329.6 kB / 0.8213 GB, free: 8.352 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002388/0.01032, allocations: 337.7 kB / 0.8216 GB, free: 7.949 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.01032, allocations: 0.8438 kB / 0.8216 GB, free: 7.949 MB / 0.7761 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005358/0.01086, allocations: 0.6055 MB / 0.8222 GB, free: 7.289 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 7.134e-05/0.01093, allocations: 135.9 kB / 0.8223 GB, free: 7.133 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.224e-06/0.01093, allocations: 4 kB / 0.8223 GB, free: 7.129 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.073e-05/0.01095, allocations: 4 kB / 0.8223 GB, free: 7.125 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.455e-05/0.011, allocations: 9.938 kB / 0.8223 GB, free: 7.117 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.011, allocations: 7.938 kB / 0.8224 GB, free: 7.109 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002696/0.01127, allocations: 90.22 kB / 0.8224 GB, free: 7.023 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.58e-05/0.01131, allocations: 27.97 kB / 0.8225 GB, free: 6.996 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.0001074/0.01142, allocations: 181.1 kB / 0.8226 GB, free: 6.809 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.829e-05/0.01145, allocations: 36.33 kB / 0.8227 GB, free: 6.773 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.299e-05/0.01148, allocations: 22.67 kB / 0.8227 GB, free: 6.754 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.963e-06/0.01148, allocations: 0 / 0.8227 GB, free: 6.754 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.01148, allocations: 4 kB / 0.8227 GB, free: 6.75 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.01149, allocations: 0 / 0.8227 GB, free: 6.75 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001199/0.01161, allocations: 157.9 kB / 0.8228 GB, free: 6.57 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.01161, allocations: 0 / 0.8228 GB, free: 6.57 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.309e-05/0.01163, allocations: 8.656 kB / 0.8229 GB, free: 6.562 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.48e-06/0.01164, allocations: 8.594 kB / 0.8229 GB, free: 6.555 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.873e-06/0.01164, allocations: 3.984 kB / 0.8229 GB, free: 6.551 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.554e-06/0.01165, allocations: 7.219 kB / 0.8229 GB, free: 6.547 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.01165, allocations: 3.938 kB / 0.8229 GB, free: 6.543 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001694/0.01182, allocations: 210 kB / 0.8231 GB, free: 6.305 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 2.153e-05/0.01184, allocations: 23.84 kB / 0.8231 GB, free: 6.281 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.727e-05/0.01186, allocations: 7.938 kB / 0.8231 GB, free: 6.273 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.14e-05/0.01189, allocations: 3.984 kB / 0.8231 GB, free: 6.27 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.376e-05/0.01192, allocations: 15.98 kB / 0.8231 GB, free: 6.254 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.774e-06/0.01193, allocations: 8 kB / 0.8231 GB, free: 6.246 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 8.117e-05/0.01201, allocations: 189 kB / 0.8233 GB, free: 6.062 MB / 0.7761 GB Notification: Performance of sort global known variables: time 4e-08/0.01201, allocations: 2.406 kB / 0.8233 GB, free: 6.062 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002351/0.01225, allocations: 79.88 kB / 0.8234 GB, free: 5.984 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.0001436/0.01239, allocations: 100.2 kB / 0.8235 GB, free: 5.875 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0003932/0.01278, allocations: 0.542 MB / 0.824 GB, free: 5.258 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.01279, allocations: 0 / 0.824 GB, free: 5.258 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 5.41e-05/0.01284, allocations: 55.52 kB / 0.8241 GB, free: 5.199 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003474/0.01319, allocations: 65.41 kB / 0.8241 GB, free: 5.141 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004225/0.01361, allocations: 342.2 kB / 0.8245 GB, free: 4.766 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.632e-05/0.01366, allocations: 79.84 kB / 0.8245 GB, free: 4.668 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 5.52e-05/0.01371, allocations: 19.95 kB / 0.8246 GB, free: 4.648 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002136/0.01392, allocations: 154.1 kB / 0.8247 GB, free: 4.496 MB / 0.7761 GB Notification: Performance of SimCode: time 6.41e-07/0.01392, allocations: 0 / 0.8247 GB, free: 4.496 MB / 0.7761 GB Notification: Performance of Templates: time 0.007898/0.02182, allocations: 5.615 MB / 0.8302 GB, free: 15.02 MB / 0.7917 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.428156863898039]