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.001462/0.001462, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.001243/0.001243, allocations: 161 kB / 23.82 MB, free: 0.75 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.9677/0.9677, allocations: 177.1 MB / 204.2 MB, free: 5.598 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.845/1.845, allocations: 377.8 MB / 0.6236 GB, free: 8.547 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 3.166e-06/3.166e-06, allocations: 0 / 0.8115 GB, free: 1.695 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.064e-05/3.38e-05, allocations: 7.5 kB / 0.8115 GB, free: 1.688 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.002237/0.002271, allocations: 0.9684 MB / 0.8125 GB, free: 0.7383 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.002172/0.004443, allocations: 1.484 MB / 0.8139 GB, free: 15.24 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001137/0.004557, allocations: 1.531 kB / 0.8139 GB, free: 15.24 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 5.188e-05/0.004609, allocations: 15.75 kB / 0.814 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001946/0.004803, allocations: 71.48 kB / 0.814 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.001025/0.005828, allocations: 425.1 kB / 0.8144 GB, free: 14.74 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0005939/0.006422, allocations: 496.6 kB / 0.8149 GB, free: 14.26 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001216/0.006544, allocations: 33.88 kB / 0.8149 GB, free: 14.22 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002467/0.00679, allocations: 263.6 kB / 0.8152 GB, free: 13.96 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000167/0.006957, allocations: 138.2 kB / 0.8153 GB, free: 13.83 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 5.597e-05/0.007013, allocations: 52 kB / 0.8154 GB, free: 13.78 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 8.873e-05/0.007102, allocations: 55.98 kB / 0.8154 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 3.805e-05/0.00714, allocations: 43.83 kB / 0.8155 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001172/0.007257, allocations: 139.7 kB / 0.8156 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0003455/0.007603, allocations: 331.2 kB / 0.8159 GB, free: 13.22 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.007609, allocations: 7.938 kB / 0.8159 GB, free: 13.21 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.663e-06/0.00761, allocations: 0.5312 kB / 0.8159 GB, free: 13.21 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 6.602e-06/0.007617, allocations: 0 / 0.8159 GB, free: 13.21 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.000686/0.008303, allocations: 0.6553 MB / 0.8166 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.967e-05/0.008343, allocations: 8.562 kB / 0.8166 GB, free: 12.49 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.544e-05/0.008438, allocations: 40.8 kB / 0.8166 GB, free: 12.45 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000158/0.008596, allocations: 165.4 kB / 0.8168 GB, free: 12.27 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.951e-05/0.008625, allocations: 16.3 kB / 0.8168 GB, free: 12.25 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.589e-05/0.008661, allocations: 24.38 kB / 0.8168 GB, free: 12.23 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001575/0.008819, allocations: 125.6 kB / 0.8169 GB, free: 12.08 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.926e-06/0.008828, allocations: 8.719 kB / 0.8169 GB, free: 12.07 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.102e-05/0.008839, allocations: 384 / 0.8169 GB, free: 12.07 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.145e-06/0.008847, allocations: 0.9688 kB / 0.8169 GB, free: 12.07 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.703e-05/0.008904, allocations: 40.62 kB / 0.817 GB, free: 12.03 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006651/0.009569, allocations: 0.9036 MB / 0.8179 GB, free: 11.08 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001139/0.009683, allocations: 133.7 kB / 0.818 GB, free: 10.9 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.506e-05/0.009728, allocations: 46.81 kB / 0.818 GB, free: 10.84 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 9.508e-06/0.009738, allocations: 7.922 kB / 0.818 GB, free: 10.83 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001691/0.009907, allocations: 174.9 kB / 0.8182 GB, free: 10.63 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=16): time 1.553e-06/0.009908, allocations: 0 / 0.8182 GB, free: 10.63 MB / 0.7761 GB Notification: Performance of matching and sorting (n=16): time 0.0003137/0.01022, allocations: 190.2 kB / 0.8184 GB, free: 10.44 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.587e-05/0.01028, allocations: 140.4 kB / 0.8185 GB, free: 10.27 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001731/0.01045, allocations: 281.1 kB / 0.8188 GB, free: 9.977 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 3.631e-05/0.01049, allocations: 41.69 kB / 0.8188 GB, free: 9.93 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 8.475e-05/0.01057, allocations: 175.3 kB / 0.819 GB, free: 9.754 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.638e-05/0.0106, allocations: 37.95 kB / 0.819 GB, free: 9.719 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001087/0.01071, allocations: 99.3 kB / 0.8191 GB, free: 9.613 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001134/0.01082, allocations: 0.504 MB / 0.8196 GB, free: 9.098 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002143/0.01103, allocations: 226.9 kB / 0.8198 GB, free: 8.848 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002376/0.01127, allocations: 344.6 kB / 0.8202 GB, free: 8.438 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002669/0.01154, allocations: 357.6 kB / 0.8205 GB, free: 8.016 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.01154, allocations: 1.562 kB / 0.8205 GB, free: 8.016 MB / 0.7761 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0007724/0.01231, allocations: 0.6244 MB / 0.8211 GB, free: 7.336 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 6.683e-05/0.01238, allocations: 139.3 kB / 0.8212 GB, free: 7.176 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.01239, allocations: 4 kB / 0.8213 GB, free: 7.172 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-05/0.0124, allocations: 4.562 kB / 0.8213 GB, free: 7.168 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.822e-05/0.01247, allocations: 20.48 kB / 0.8213 GB, free: 7.148 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.824e-06/0.01248, allocations: 9.375 kB / 0.8213 GB, free: 7.141 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000269/0.01275, allocations: 80.53 kB / 0.8214 GB, free: 7.062 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.345e-05/0.01278, allocations: 25.02 kB / 0.8214 GB, free: 7.039 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.0001043/0.01289, allocations: 190.2 kB / 0.8216 GB, free: 6.844 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.64e-05/0.01291, allocations: 27.86 kB / 0.8216 GB, free: 6.816 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.242e-05/0.01295, allocations: 26.05 kB / 0.8216 GB, free: 6.793 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.01295, allocations: 0 / 0.8216 GB, free: 6.793 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.01295, allocations: 7.75 kB / 0.8216 GB, free: 6.789 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.317e-06/0.01296, allocations: 0 / 0.8216 GB, free: 6.789 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001369/0.01309, allocations: 188.5 kB / 0.8218 GB, free: 6.57 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.0131, allocations: 3.938 kB / 0.8218 GB, free: 6.566 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.667e-05/0.01312, allocations: 12 kB / 0.8218 GB, free: 6.555 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.147e-06/0.01313, allocations: 4 kB / 0.8218 GB, free: 6.551 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.025e-05/0.01314, allocations: 3.984 kB / 0.8218 GB, free: 6.547 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.915e-06/0.01314, allocations: 4 kB / 0.8218 GB, free: 6.543 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.275e-06/0.01315, allocations: 3.984 kB / 0.8218 GB, free: 6.539 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000195/0.01334, allocations: 219.1 kB / 0.822 GB, free: 6.289 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 2.253e-05/0.01336, allocations: 21.34 kB / 0.8221 GB, free: 6.27 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.746e-05/0.01338, allocations: 0 / 0.8221 GB, free: 6.27 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.263e-05/0.01341, allocations: 11.98 kB / 0.8221 GB, free: 6.258 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.619e-05/0.01345, allocations: 7.984 kB / 0.8221 GB, free: 6.25 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.219e-05/0.01346, allocations: 16.95 kB / 0.8221 GB, free: 6.234 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 9.792e-05/0.01356, allocations: 189.1 kB / 0.8223 GB, free: 6.055 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.01356, allocations: 1.094 kB / 0.8223 GB, free: 6.055 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002377/0.0138, allocations: 75.88 kB / 0.8224 GB, free: 5.98 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.0001515/0.01395, allocations: 108.3 kB / 0.8225 GB, free: 5.863 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0004756/0.01443, allocations: 0.5608 MB / 0.823 GB, free: 5.227 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.01443, allocations: 0 / 0.823 GB, free: 5.227 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 6.462e-05/0.01449, allocations: 57.41 kB / 0.8231 GB, free: 5.168 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002922/0.01478, allocations: 72.2 kB / 0.8231 GB, free: 5.102 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004441/0.01523, allocations: 345.2 kB / 0.8235 GB, free: 4.727 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.361e-05/0.01527, allocations: 79.84 kB / 0.8235 GB, free: 4.629 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 5.253e-05/0.01532, allocations: 22.81 kB / 0.8236 GB, free: 4.605 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.149e-05/0.01536, allocations: 21.16 kB / 0.8236 GB, free: 4.586 MB / 0.7761 GB Notification: Performance of SimCode: time 8.32e-07/0.01536, allocations: 2.875 kB / 0.8236 GB, free: 4.586 MB / 0.7761 GB Notification: Performance of Templates: time 0.007721/0.02308, allocations: 5.496 MB / 0.8289 GB, free: 15.23 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.1276300572790205]