Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0009785/0.0009785, allocations: 83.59 kB / 20.45 MB, free: 4.113 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.0009515/0.0009515, allocations: 165 kB / 23.82 MB, free: 0.7422 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.9805/0.9805, allocations: 177.1 MB / 204.2 MB, free: 5.211 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.877/1.877, allocations: 359 MB / 0.6052 GB, free: 11.04 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 0.7871 GB, free: 12.46 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.684e-05/1.829e-05, allocations: 2.969 kB / 0.7871 GB, free: 12.46 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse): time 0.001249/0.001267, allocations: 0.7359 MB / 0.7879 GB, free: 11.74 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001095/0.002363, allocations: 1.191 MB / 0.789 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.727e-05/0.0024, allocations: 0.8125 kB / 0.789 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.765e-05/0.002428, allocations: 3.938 kB / 0.789 GB, free: 10.53 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 7.45e-05/0.002502, allocations: 5.188 kB / 0.789 GB, free: 10.53 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003817/0.002884, allocations: 131.6 kB / 0.7891 GB, free: 10.4 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001463/0.00303, allocations: 133.4 kB / 0.7893 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 8.411e-05/0.003114, allocations: 4 kB / 0.7893 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 8.74e-05/0.003202, allocations: 63.89 kB / 0.7893 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 8.436e-05/0.003286, allocations: 37.16 kB / 0.7894 GB, free: 10.17 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.415e-05/0.00331, allocations: 12 kB / 0.7894 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 5.549e-05/0.003366, allocations: 31.92 kB / 0.7894 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.892e-05/0.003385, allocations: 4 kB / 0.7894 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 4.962e-05/0.003434, allocations: 40.47 kB / 0.7895 GB, free: 10.08 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001461/0.00358, allocations: 89.23 kB / 0.7895 GB, free: 9.996 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.003585, allocations: 4 kB / 0.7896 GB, free: 9.992 MB / 0.7448 GB Notification: Performance of FrontEnd: time 7.92e-07/0.003586, allocations: 0 / 0.7896 GB, free: 9.992 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.797e-06/0.00359, allocations: 0 / 0.7896 GB, free: 9.992 MB / 0.7448 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.0003885/0.003978, allocations: 426.9 kB / 0.79 GB, free: 9.531 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.396e-05/0.004012, allocations: 8.031 kB / 0.79 GB, free: 9.523 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.557e-05/0.004058, allocations: 9.5 kB / 0.79 GB, free: 9.516 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.849e-05/0.004146, allocations: 120.5 kB / 0.7901 GB, free: 9.371 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.863e-05/0.004165, allocations: 13.05 kB / 0.7901 GB, free: 9.359 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.682e-05/0.004182, allocations: 8.312 kB / 0.7901 GB, free: 9.352 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.666e-05/0.004258, allocations: 51.84 kB / 0.7902 GB, free: 9.293 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.903e-06/0.004265, allocations: 192 / 0.7902 GB, free: 9.293 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.455e-06/0.004274, allocations: 5.031 kB / 0.7902 GB, free: 9.289 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-06/0.00428, allocations: 384 / 0.7902 GB, free: 9.289 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.456e-05/0.004305, allocations: 15.34 kB / 0.7902 GB, free: 9.277 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000313/0.004618, allocations: 303.7 kB / 0.7905 GB, free: 8.945 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 4.641e-05/0.004664, allocations: 35 kB / 0.7905 GB, free: 8.898 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.901e-05/0.004683, allocations: 15.67 kB / 0.7905 GB, free: 8.879 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 5.922e-06/0.004689, allocations: 0 / 0.7905 GB, free: 8.879 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.266e-05/0.004762, allocations: 65.05 kB / 0.7906 GB, free: 8.801 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=4): time 7.42e-07/0.004762, allocations: 0 / 0.7906 GB, free: 8.801 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4): time 0.000153/0.004915, allocations: 73.58 kB / 0.7906 GB, free: 8.723 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.671e-05/0.004942, allocations: 52.12 kB / 0.7907 GB, free: 8.66 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.13e-05/0.005033, allocations: 181.9 kB / 0.7909 GB, free: 8.465 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.655e-05/0.00505, allocations: 31.36 kB / 0.7909 GB, free: 8.43 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.514e-05/0.005105, allocations: 138.9 kB / 0.791 GB, free: 8.289 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.158e-05/0.005117, allocations: 7.938 kB / 0.791 GB, free: 8.281 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.794e-05/0.005165, allocations: 39.36 kB / 0.7911 GB, free: 8.234 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001082/0.005273, allocations: 497.5 kB / 0.7916 GB, free: 7.738 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.695e-05/0.00534, allocations: 61.67 kB / 0.7916 GB, free: 7.672 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.114e-05/0.005411, allocations: 80.75 kB / 0.7917 GB, free: 7.574 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.623e-05/0.005487, allocations: 90.28 kB / 0.7918 GB, free: 7.469 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.005489, allocations: 0 / 0.7918 GB, free: 7.469 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001874/0.005676, allocations: 185.6 kB / 0.792 GB, free: 7.27 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.896e-05/0.005705, allocations: 41.64 kB / 0.792 GB, free: 7.223 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.005711, allocations: 1.156 kB / 0.792 GB, free: 7.223 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.585e-05/0.005726, allocations: 4 kB / 0.792 GB, free: 7.219 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.998e-05/0.005776, allocations: 3.984 kB / 0.792 GB, free: 7.215 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/0.005784, allocations: 4.531 kB / 0.792 GB, free: 7.211 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001042/0.005889, allocations: 20.45 kB / 0.792 GB, free: 7.191 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.389e-05/0.005903, allocations: 8.875 kB / 0.792 GB, free: 7.184 MB / 0.7448 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.562e-05/0.005978, allocations: 164.5 kB / 0.7922 GB, free: 7.012 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.217e-05/0.00599, allocations: 16.69 kB / 0.7922 GB, free: 6.996 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.776e-05/0.006018, allocations: 12 kB / 0.7922 GB, free: 6.984 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.332e-06/0.006019, allocations: 0.5312 kB / 0.7922 GB, free: 6.984 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.006024, allocations: 1.375 kB / 0.7922 GB, free: 6.984 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.006027, allocations: 64 / 0.7922 GB, free: 6.984 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.613e-05/0.006104, allocations: 124.6 kB / 0.7923 GB, free: 6.828 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.006105, allocations: 0 / 0.7923 GB, free: 6.828 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.126e-05/0.006116, allocations: 9.141 kB / 0.7923 GB, free: 6.82 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.006117, allocations: 0 / 0.7923 GB, free: 6.82 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.444e-06/0.006125, allocations: 7.938 kB / 0.7924 GB, free: 6.812 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.81e-07/0.006126, allocations: 0.7812 kB / 0.7924 GB, free: 6.812 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.006127, allocations: 0 / 0.7924 GB, free: 6.812 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.387e-05/0.006211, allocations: 93.22 kB / 0.7924 GB, free: 6.699 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.032e-05/0.006221, allocations: 11.92 kB / 0.7925 GB, free: 6.688 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.36e-05/0.006234, allocations: 13.3 kB / 0.7925 GB, free: 6.676 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.113e-05/0.006246, allocations: 0 / 0.7925 GB, free: 6.676 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.672e-05/0.006272, allocations: 4 kB / 0.7925 GB, free: 6.672 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.809e-06/0.006277, allocations: 4 kB / 0.7925 GB, free: 6.668 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.744e-05/0.006335, allocations: 135.7 kB / 0.7926 GB, free: 6.535 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.006335, allocations: 0.9688 kB / 0.7926 GB, free: 6.535 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001495/0.006484, allocations: 16 kB / 0.7926 GB, free: 6.52 MB / 0.7448 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 9.675e-05/0.006581, allocations: 108.4 kB / 0.7927 GB, free: 6.41 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001609/0.006742, allocations: 148.7 kB / 0.7929 GB, free: 6.242 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.253e-06/0.006743, allocations: 3.938 kB / 0.7929 GB, free: 6.238 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.295e-05/0.006766, allocations: 15.69 kB / 0.7929 GB, free: 6.219 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001612/0.006927, allocations: 29.72 kB / 0.7929 GB, free: 6.195 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002406/0.007168, allocations: 149.9 kB / 0.7931 GB, free: 6.02 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.983e-05/0.007198, allocations: 55.36 kB / 0.7931 GB, free: 5.945 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.04e-05/0.007218, allocations: 7.984 kB / 0.7931 GB, free: 5.938 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.772e-05/0.007236, allocations: 12.5 kB / 0.7931 GB, free: 5.926 MB / 0.7448 GB Notification: Performance of SimCode: time 5.11e-07/0.007236, allocations: 0 / 0.7931 GB, free: 5.926 MB / 0.7448 GB Notification: Performance of Templates: time 0.002994/0.01023, allocations: 1.493 MB / 0.7946 GB, free: 4.5 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.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.218204990960658]