Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001244/0.001244, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.001489/0.001489, allocations: 173 kB / 23.49 MB, free: 1.055 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.9933/0.9933, allocations: 177.1 MB / 203.8 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.149/2.149, allocations: 429.5 MB / 0.6736 GB, free: 4.051 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.343e-06/1.343e-06, allocations: 0 / 0.8782 GB, free: 6.57 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.224e-05/1.359e-05, allocations: 5.688 kB / 0.8782 GB, free: 6.566 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse): time 0.001107/0.00112, allocations: 0.7282 MB / 0.879 GB, free: 5.855 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0009968/0.002117, allocations: 1.173 MB / 0.8801 GB, free: 4.672 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.353e-05/0.002151, allocations: 4.875 kB / 0.8801 GB, free: 4.668 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 1.826e-05/0.002169, allocations: 7.922 kB / 0.8801 GB, free: 4.66 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 5.348e-05/0.002223, allocations: 18.05 kB / 0.8801 GB, free: 4.645 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.00029/0.002513, allocations: 131.6 kB / 0.8803 GB, free: 4.516 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001176/0.00263, allocations: 124.9 kB / 0.8804 GB, free: 4.395 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 5.475e-05/0.002685, allocations: 7.984 kB / 0.8804 GB, free: 4.387 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 7.114e-05/0.002756, allocations: 68.92 kB / 0.8804 GB, free: 4.32 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 6.357e-05/0.00282, allocations: 31.89 kB / 0.8805 GB, free: 4.289 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.919e-05/0.002839, allocations: 16 kB / 0.8805 GB, free: 4.273 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 4.299e-05/0.002882, allocations: 24.98 kB / 0.8805 GB, free: 4.25 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.694e-05/0.002899, allocations: 15.92 kB / 0.8805 GB, free: 4.234 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 3.76e-05/0.002936, allocations: 27.98 kB / 0.8806 GB, free: 4.207 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001121/0.003048, allocations: 92.3 kB / 0.8806 GB, free: 4.117 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.363e-06/0.00305, allocations: 0.7188 kB / 0.8806 GB, free: 4.117 MB / 0.8386 GB Notification: Performance of FrontEnd: time 6.81e-07/0.00305, allocations: 0 / 0.8806 GB, free: 4.117 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 2.935e-06/0.003053, allocations: 3.438 kB / 0.8806 GB, free: 4.117 MB / 0.8386 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.0003226/0.003376, allocations: 426.1 kB / 0.8811 GB, free: 3.656 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 2.705e-05/0.003403, allocations: 15.97 kB / 0.8811 GB, free: 3.641 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.228e-05/0.003435, allocations: 8.891 kB / 0.8811 GB, free: 3.633 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.448e-05/0.00351, allocations: 124.5 kB / 0.8812 GB, free: 3.484 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.17e-05/0.003522, allocations: 384 / 0.8812 GB, free: 3.484 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.352e-05/0.003535, allocations: 12.38 kB / 0.8812 GB, free: 3.473 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.772e-05/0.003593, allocations: 50.94 kB / 0.8813 GB, free: 3.414 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.888e-06/0.003597, allocations: 192 / 0.8813 GB, free: 3.414 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.35e-06/0.003602, allocations: 0.9688 kB / 0.8813 GB, free: 3.414 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.003606, allocations: 384 / 0.8813 GB, free: 3.414 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.053e-05/0.003627, allocations: 13.03 kB / 0.8813 GB, free: 3.402 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002468/0.003874, allocations: 307.7 kB / 0.8816 GB, free: 3.066 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 3.773e-05/0.003911, allocations: 27.62 kB / 0.8816 GB, free: 3.027 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.516e-05/0.003927, allocations: 12.72 kB / 0.8816 GB, free: 3.012 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 5.581e-06/0.003932, allocations: 7.938 kB / 0.8816 GB, free: 3.004 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.92e-05/0.004001, allocations: 72.91 kB / 0.8817 GB, free: 2.918 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=4): time 9.51e-07/0.004002, allocations: 1.062 kB / 0.8817 GB, free: 2.918 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4): time 0.0001263/0.004129, allocations: 69.64 kB / 0.8817 GB, free: 2.844 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.787e-05/0.004156, allocations: 52.94 kB / 0.8818 GB, free: 2.781 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.634e-05/0.004243, allocations: 181.9 kB / 0.882 GB, free: 2.586 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.433e-05/0.004257, allocations: 25.7 kB / 0.882 GB, free: 2.555 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.985e-05/0.004307, allocations: 142.8 kB / 0.8821 GB, free: 2.41 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 9.478e-06/0.004316, allocations: 8.984 kB / 0.8821 GB, free: 2.402 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.479e-05/0.004361, allocations: 39.34 kB / 0.8822 GB, free: 2.355 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001104/0.004472, allocations: 496.1 kB / 0.8827 GB, free: 1.859 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.162e-05/0.004533, allocations: 58.38 kB / 0.8827 GB, free: 1.797 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.619e-05/0.004599, allocations: 92.67 kB / 0.8828 GB, free: 1.688 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.065e-05/0.00467, allocations: 92.75 kB / 0.8829 GB, free: 1.578 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.163e-06/0.004671, allocations: 0 / 0.8829 GB, free: 1.578 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001707/0.004842, allocations: 180.9 kB / 0.8831 GB, free: 1.383 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.722e-05/0.004869, allocations: 41.64 kB / 0.8831 GB, free: 1.336 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.346e-06/0.004872, allocations: 0 / 0.8831 GB, free: 1.336 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.786e-06/0.004881, allocations: 0 / 0.8831 GB, free: 1.336 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.805e-05/0.004909, allocations: 7.938 kB / 0.8831 GB, free: 1.328 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.987e-06/0.004913, allocations: 0 / 0.8831 GB, free: 1.328 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.606e-05/0.004999, allocations: 24.03 kB / 0.8831 GB, free: 1.305 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.089e-05/0.00501, allocations: 8 kB / 0.8831 GB, free: 1.297 MB / 0.8386 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 6.693e-05/0.005077, allocations: 160.6 kB / 0.8833 GB, free: 1.129 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.147e-05/0.005089, allocations: 11.89 kB / 0.8833 GB, free: 1.117 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.82e-05/0.005117, allocations: 11.98 kB / 0.8833 GB, free: 1.105 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.332e-06/0.005118, allocations: 0 / 0.8833 GB, free: 1.105 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.596e-06/0.005122, allocations: 4 kB / 0.8833 GB, free: 1.102 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.005125, allocations: 0 / 0.8833 GB, free: 1.102 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.179e-05/0.005197, allocations: 124.8 kB / 0.8834 GB, free: 0.9453 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.005198, allocations: 4 kB / 0.8834 GB, free: 0.9414 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.462e-06/0.005204, allocations: 0 / 0.8834 GB, free: 0.9414 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.005207, allocations: 4 kB / 0.8834 GB, free: 0.9375 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.967e-06/0.005216, allocations: 15.84 kB / 0.8835 GB, free: 0.9219 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.62e-07/0.005216, allocations: 0 / 0.8835 GB, free: 0.9219 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.22e-07/0.005217, allocations: 0 / 0.8835 GB, free: 0.9219 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.47e-05/0.005292, allocations: 96.38 kB / 0.8835 GB, free: 0.8047 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 8.156e-06/0.0053, allocations: 3.953 kB / 0.8836 GB, free: 0.8008 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.127e-05/0.005311, allocations: 8 kB / 0.8836 GB, free: 0.793 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.302e-05/0.005324, allocations: 7.984 kB / 0.8836 GB, free: 0.7852 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.853e-05/0.005343, allocations: 0 / 0.8836 GB, free: 0.7852 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.749e-06/0.005347, allocations: 8 kB / 0.8836 GB, free: 0.7773 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.651e-05/0.005394, allocations: 135.6 kB / 0.8837 GB, free: 0.6445 MB / 0.8386 GB Notification: Performance of sort global known variables: time 5e-08/0.005394, allocations: 0 / 0.8837 GB, free: 0.6445 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001356/0.00553, allocations: 20 kB / 0.8837 GB, free: 0.625 MB / 0.8386 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.007e-05/0.00562, allocations: 103.2 kB / 0.8838 GB, free: 0.5117 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001488/0.005769, allocations: 152.7 kB / 0.884 GB, free: 348 kB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.122e-06/0.00577, allocations: 0 / 0.884 GB, free: 348 kB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.12e-05/0.005791, allocations: 15.69 kB / 0.884 GB, free: 328 kB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001342/0.005925, allocations: 20.44 kB / 0.884 GB, free: 308 kB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002199/0.006145, allocations: 150 kB / 0.8841 GB, free: 128 kB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.985e-05/0.006175, allocations: 55.36 kB / 0.8842 GB, free: 52 kB / 0.8386 GB Notification: Performance of simCode: alias equations: time 1.511e-05/0.00619, allocations: 4 kB / 0.8842 GB, free: 48 kB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.608e-05/0.006206, allocations: 12.48 kB / 0.8842 GB, free: 36 kB / 0.8386 GB Notification: Performance of SimCode: time 7.81e-07/0.006207, allocations: 0 / 0.8842 GB, free: 36 kB / 0.8386 GB Notification: Performance of Templates: time 0.002632/0.008839, allocations: 1.511 MB / 0.8857 GB, free: 14.57 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.Pulse_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.444381237961352]