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.0009728/0.0009728, allocations: 83.59 kB / 20.45 MB, free: 4.121 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.0009357/0.0009357, allocations: 165 kB / 23.82 MB, free: 0.7461 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.9956/0.9956, allocations: 177.1 MB / 204.2 MB, free: 5.641 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.901/1.901, allocations: 377.8 MB / 0.6236 GB, free: 8.551 MB / 0.5886 GB " [Timeout remaining time 178] 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.603e-06/1.603e-06, allocations: 0 / 0.8115 GB, free: 0.5742 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.709e-05/1.869e-05, allocations: 2.312 kB / 0.8115 GB, free: 0.5703 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.001365/0.001384, allocations: 0.9655 MB / 0.8125 GB, free: 15.63 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001655/0.003039, allocations: 1.498 MB / 0.8139 GB, free: 14.12 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.849e-05/0.003107, allocations: 4.781 kB / 0.814 GB, free: 14.11 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 4.223e-05/0.003149, allocations: 11.81 kB / 0.814 GB, free: 14.1 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0001331/0.003282, allocations: 61.52 kB / 0.814 GB, free: 14.04 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007308/0.004013, allocations: 428.2 kB / 0.8144 GB, free: 13.62 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0003843/0.004397, allocations: 495.6 kB / 0.8149 GB, free: 13.14 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001112/0.004509, allocations: 39.27 kB / 0.8149 GB, free: 13.1 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002194/0.004728, allocations: 263.6 kB / 0.8152 GB, free: 12.84 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001597/0.004888, allocations: 131.7 kB / 0.8153 GB, free: 12.71 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 5.284e-05/0.004941, allocations: 48 kB / 0.8154 GB, free: 12.67 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 9.463e-05/0.005035, allocations: 65.02 kB / 0.8154 GB, free: 12.61 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 3.313e-05/0.005068, allocations: 39.78 kB / 0.8155 GB, free: 12.57 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0001083/0.005177, allocations: 135.8 kB / 0.8156 GB, free: 12.43 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0002966/0.005473, allocations: 343.8 kB / 0.8159 GB, free: 12.1 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.144e-06/0.005475, allocations: 0 / 0.8159 GB, free: 12.1 MB / 0.7292 GB Notification: Performance of FrontEnd: time 8.61e-07/0.005476, allocations: 4.844 kB / 0.8159 GB, free: 12.09 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.428e-06/0.005481, allocations: 0 / 0.8159 GB, free: 12.09 MB / 0.7292 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.0006095/0.00609, allocations: 0.6548 MB / 0.8166 GB, free: 11.38 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.659e-05/0.006127, allocations: 12.03 kB / 0.8166 GB, free: 11.36 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.725e-05/0.006204, allocations: 38.03 kB / 0.8166 GB, free: 11.33 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001305/0.006335, allocations: 171.7 kB / 0.8168 GB, free: 11.13 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.659e-05/0.006361, allocations: 16.38 kB / 0.8168 GB, free: 11.12 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.936e-05/0.0064, allocations: 25.34 kB / 0.8168 GB, free: 11.09 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001443/0.006545, allocations: 125.6 kB / 0.8169 GB, free: 10.95 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/0.006556, allocations: 192 / 0.8169 GB, free: 10.95 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.198e-05/0.006568, allocations: 5.125 kB / 0.8169 GB, free: 10.94 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.002e-05/0.006578, allocations: 4.375 kB / 0.8169 GB, free: 10.94 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.636e-05/0.006634, allocations: 36.72 kB / 0.817 GB, free: 10.9 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006363/0.00727, allocations: 0.9037 MB / 0.8179 GB, free: 9.949 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000113/0.007383, allocations: 138.1 kB / 0.818 GB, free: 9.766 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.267e-05/0.007426, allocations: 42.8 kB / 0.818 GB, free: 9.707 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 7.784e-06/0.007434, allocations: 4 kB / 0.818 GB, free: 9.703 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001602/0.007594, allocations: 175.5 kB / 0.8182 GB, free: 9.5 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=16): time 1.282e-06/0.007595, allocations: 1.125 kB / 0.8182 GB, free: 9.5 MB / 0.7292 GB Notification: Performance of matching and sorting (n=16): time 0.0003003/0.007896, allocations: 193.3 kB / 0.8184 GB, free: 9.305 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.028e-05/0.007946, allocations: 132.5 kB / 0.8185 GB, free: 9.145 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001802/0.008126, allocations: 285.2 kB / 0.8188 GB, free: 8.855 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 3.303e-05/0.008159, allocations: 37.7 kB / 0.8188 GB, free: 8.812 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 8.621e-05/0.008245, allocations: 181.1 kB / 0.819 GB, free: 8.633 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.323e-05/0.008269, allocations: 27.81 kB / 0.819 GB, free: 8.605 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000109/0.008378, allocations: 95.31 kB / 0.8191 GB, free: 8.504 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0002581/0.008636, allocations: 0.504 MB / 0.8196 GB, free: 7.988 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002141/0.00885, allocations: 230.9 kB / 0.8198 GB, free: 7.734 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002371/0.009087, allocations: 344.9 kB / 0.8202 GB, free: 7.324 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002659/0.009353, allocations: 360.3 kB / 0.8205 GB, free: 6.898 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.009355, allocations: 4.5 kB / 0.8205 GB, free: 6.895 MB / 0.7292 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005906/0.009946, allocations: 0.627 MB / 0.8211 GB, free: 6.215 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 6.322e-05/0.01001, allocations: 134.8 kB / 0.8212 GB, free: 6.059 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.01002, allocations: 4 kB / 0.8213 GB, free: 6.055 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.722e-05/0.01003, allocations: 4.625 kB / 0.8213 GB, free: 6.051 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.905e-05/0.01009, allocations: 12.62 kB / 0.8213 GB, free: 6.039 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.063e-06/0.0101, allocations: 4 kB / 0.8213 GB, free: 6.035 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002603/0.01036, allocations: 89.98 kB / 0.8214 GB, free: 5.949 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.493e-05/0.01039, allocations: 31.97 kB / 0.8214 GB, free: 5.918 MB / 0.7292 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.0001007/0.01049, allocations: 186.2 kB / 0.8216 GB, free: 5.727 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.785e-05/0.01052, allocations: 33.14 kB / 0.8216 GB, free: 5.695 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.485e-05/0.01056, allocations: 21.33 kB / 0.8216 GB, free: 5.668 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.01056, allocations: 4.812 kB / 0.8216 GB, free: 5.664 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.01057, allocations: 0 / 0.8216 GB, free: 5.664 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/0.01057, allocations: 3.984 kB / 0.8216 GB, free: 5.66 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001306/0.0107, allocations: 193.4 kB / 0.8218 GB, free: 5.438 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.0107, allocations: 4 kB / 0.8218 GB, free: 5.434 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.22e-05/0.01072, allocations: 13.33 kB / 0.8218 GB, free: 5.422 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.01073, allocations: 0 / 0.8218 GB, free: 5.422 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.189e-05/0.01074, allocations: 8 kB / 0.8218 GB, free: 5.414 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/0.01074, allocations: 3.938 kB / 0.8218 GB, free: 5.41 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.01074, allocations: 4.875 kB / 0.8218 GB, free: 5.406 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001832/0.01093, allocations: 218 kB / 0.822 GB, free: 5.16 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.095e-05/0.01095, allocations: 17.92 kB / 0.8221 GB, free: 5.145 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.742e-05/0.01096, allocations: 8 kB / 0.8221 GB, free: 5.137 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.736e-05/0.01099, allocations: 0 / 0.8221 GB, free: 5.137 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.713e-05/0.01103, allocations: 23.91 kB / 0.8221 GB, free: 5.113 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.953e-06/0.01104, allocations: 4 kB / 0.8221 GB, free: 5.109 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 9.575e-05/0.01113, allocations: 201.1 kB / 0.8223 GB, free: 4.91 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.01113, allocations: 0.6875 kB / 0.8223 GB, free: 4.91 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002234/0.01135, allocations: 79.27 kB / 0.8224 GB, free: 4.836 MB / 0.7292 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.0001053/0.01146, allocations: 108.4 kB / 0.8225 GB, free: 4.723 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0004342/0.01189, allocations: 0.5545 MB / 0.823 GB, free: 4.09 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.0119, allocations: 0 / 0.823 GB, free: 4.09 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 5.919e-05/0.01195, allocations: 52.16 kB / 0.8231 GB, free: 4.035 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002629/0.01222, allocations: 63.69 kB / 0.8231 GB, free: 3.977 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003909/0.01261, allocations: 339.9 kB / 0.8234 GB, free: 3.605 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.882e-05/0.01265, allocations: 71.98 kB / 0.8235 GB, free: 3.516 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 4.376e-05/0.01269, allocations: 19.05 kB / 0.8235 GB, free: 3.496 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.114e-05/0.01272, allocations: 26.17 kB / 0.8236 GB, free: 3.473 MB / 0.7292 GB Notification: Performance of SimCode: time 3.61e-07/0.01272, allocations: 0 / 0.8236 GB, free: 3.473 MB / 0.7292 GB Notification: Performance of Templates: time 0.006081/0.0188, allocations: 5.09 MB / 0.8285 GB, free: 14.53 MB / 0.7448 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.253498167265207]