Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0008552/0.0008552, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.001196/0.001196, allocations: 181 kB / 23.36 MB, free: 1.133 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.9489/0.9489, allocations: 177.1 MB / 203.8 MB, free: 5.469 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.493/2.493, allocations: 438.8 MB / 0.6826 GB, free: 13.63 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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.Integers.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pul.y|pul1.y|pul2.y|pul3.y",fileNamePrefix="Buildings_latest_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_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.685e-06/2.685e-06, allocations: 3.938 kB / 0.8386 GB, free: 14.24 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.403e-05/2.671e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.001627/0.001653, allocations: 0.932 MB / 0.8395 GB, free: 13.3 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.001732/0.003385, allocations: 1.505 MB / 0.841 GB, free: 11.79 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.086e-05/0.003446, allocations: 4 kB / 0.841 GB, free: 11.78 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 3.461e-05/0.00348, allocations: 11.81 kB / 0.841 GB, free: 11.77 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0001291/0.003609, allocations: 59.52 kB / 0.841 GB, free: 11.71 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007162/0.004326, allocations: 443 kB / 0.8415 GB, free: 11.28 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0003767/0.004702, allocations: 495 kB / 0.8419 GB, free: 10.79 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001062/0.004809, allocations: 30.59 kB / 0.842 GB, free: 10.77 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002196/0.005028, allocations: 263.6 kB / 0.8422 GB, free: 10.51 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001658/0.005194, allocations: 131.6 kB / 0.8423 GB, free: 10.38 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 5.147e-05/0.005245, allocations: 48 kB / 0.8424 GB, free: 10.33 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 8.828e-05/0.005334, allocations: 63.98 kB / 0.8424 GB, free: 10.27 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 3.262e-05/0.005366, allocations: 39.84 kB / 0.8425 GB, free: 10.23 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 9.734e-05/0.005464, allocations: 139.8 kB / 0.8426 GB, free: 10.09 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0002849/0.005749, allocations: 343.1 kB / 0.8429 GB, free: 9.758 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.005752, allocations: 0 / 0.8429 GB, free: 9.758 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.313e-06/0.005753, allocations: 0 / 0.8429 GB, free: 9.758 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 4.168e-06/0.005757, allocations: 0 / 0.8429 GB, free: 9.758 MB / 0.8073 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.0004812/0.006239, allocations: 0.5259 MB / 0.8435 GB, free: 9.18 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.218e-05/0.006271, allocations: 8.031 kB / 0.8435 GB, free: 9.172 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.164e-05/0.006322, allocations: 36.89 kB / 0.8435 GB, free: 9.137 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001051/0.006428, allocations: 153 kB / 0.8437 GB, free: 8.957 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.126e-05/0.006449, allocations: 12.38 kB / 0.8437 GB, free: 8.945 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.414e-05/0.006483, allocations: 28.38 kB / 0.8437 GB, free: 8.918 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001084/0.006591, allocations: 110.3 kB / 0.8438 GB, free: 8.789 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.184e-06/0.006599, allocations: 4.125 kB / 0.8438 GB, free: 8.785 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.745e-06/0.006606, allocations: 4.375 kB / 0.8438 GB, free: 8.781 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-06/0.006611, allocations: 384 / 0.8438 GB, free: 8.781 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.642e-05/0.006647, allocations: 31.84 kB / 0.8438 GB, free: 8.75 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004646/0.007112, allocations: 0.5318 MB / 0.8444 GB, free: 8.191 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001003/0.007212, allocations: 102.4 kB / 0.8445 GB, free: 8.055 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.817e-05/0.00724, allocations: 31.48 kB / 0.8445 GB, free: 8.012 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 9.398e-06/0.00725, allocations: 3.938 kB / 0.8445 GB, free: 8.008 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001378/0.007387, allocations: 158.5 kB / 0.8446 GB, free: 7.828 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=16): time 1.292e-06/0.007389, allocations: 0 / 0.8446 GB, free: 7.828 MB / 0.8073 GB Notification: Performance of matching and sorting (n=16): time 0.0001814/0.00757, allocations: 141.6 kB / 0.8448 GB, free: 7.684 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.461e-05/0.007625, allocations: 132.5 kB / 0.8449 GB, free: 7.523 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001288/0.007754, allocations: 228.9 kB / 0.8451 GB, free: 7.289 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 3.013e-05/0.007784, allocations: 33.7 kB / 0.8451 GB, free: 7.25 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 5.844e-05/0.007842, allocations: 124.5 kB / 0.8453 GB, free: 7.125 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.984e-05/0.007862, allocations: 31.73 kB / 0.8453 GB, free: 7.094 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.154e-05/0.007953, allocations: 85.61 kB / 0.8454 GB, free: 7.004 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.635e-05/0.00803, allocations: 334.8 kB / 0.8457 GB, free: 6.668 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001372/0.008167, allocations: 194.9 kB / 0.8459 GB, free: 6.449 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000157/0.008324, allocations: 279.5 kB / 0.8461 GB, free: 6.117 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001906/0.008515, allocations: 312.8 kB / 0.8464 GB, free: 5.75 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.008518, allocations: 0 / 0.8464 GB, free: 5.75 MB / 0.8073 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003602/0.008878, allocations: 0.5027 MB / 0.8469 GB, free: 5.191 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 0.000249/0.009127, allocations: 134.8 kB / 0.8471 GB, free: 5.035 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.009134, allocations: 4 kB / 0.8471 GB, free: 5.031 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.168e-05/0.009146, allocations: 4.25 kB / 0.8471 GB, free: 5.027 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.405e-05/0.0092, allocations: 19.94 kB / 0.8471 GB, free: 5.008 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.192e-06/0.009206, allocations: 8 kB / 0.8471 GB, free: 5 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002271/0.009434, allocations: 79.81 kB / 0.8472 GB, free: 4.922 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.131e-05/0.009465, allocations: 31.95 kB / 0.8472 GB, free: 4.891 MB / 0.8073 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 9.098e-05/0.009556, allocations: 138.7 kB / 0.8473 GB, free: 4.746 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.003e-05/0.009576, allocations: 19.92 kB / 0.8474 GB, free: 4.727 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.958e-05/0.009605, allocations: 25.27 kB / 0.8474 GB, free: 4.703 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.012e-06/0.009611, allocations: 4 kB / 0.8474 GB, free: 4.699 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.294e-06/0.009614, allocations: 0 / 0.8474 GB, free: 4.699 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.009618, allocations: 0 / 0.8474 GB, free: 4.699 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001103/0.009728, allocations: 129.7 kB / 0.8475 GB, free: 4.555 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.009729, allocations: 0 / 0.8475 GB, free: 4.555 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.163e-05/0.00975, allocations: 15.94 kB / 0.8475 GB, free: 4.539 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.009753, allocations: 4 kB / 0.8475 GB, free: 4.535 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.821e-06/0.009759, allocations: 7.938 kB / 0.8475 GB, free: 4.527 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.816e-06/0.009762, allocations: 4 kB / 0.8475 GB, free: 4.523 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.009764, allocations: 3.984 kB / 0.8475 GB, free: 4.52 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001208/0.009885, allocations: 131.7 kB / 0.8477 GB, free: 4.363 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.528e-05/0.00991, allocations: 23.84 kB / 0.8477 GB, free: 4.34 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.491e-05/0.009925, allocations: 11.86 kB / 0.8477 GB, free: 4.328 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.018e-05/0.009955, allocations: 8 kB / 0.8477 GB, free: 4.32 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.708e-05/0.009982, allocations: 11.98 kB / 0.8477 GB, free: 4.309 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.592e-06/0.009989, allocations: 7.984 kB / 0.8477 GB, free: 4.301 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 4.991e-05/0.01004, allocations: 66.8 kB / 0.8478 GB, free: 4.23 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5.1e-08/0.01004, allocations: 0 / 0.8478 GB, free: 4.23 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001841/0.01022, allocations: 71.94 kB / 0.8479 GB, free: 4.16 MB / 0.8073 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.0001116/0.01033, allocations: 93.89 kB / 0.848 GB, free: 4.062 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0003304/0.01066, allocations: 0.5188 MB / 0.8485 GB, free: 3.469 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.01067, allocations: 0 / 0.8485 GB, free: 3.469 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 4.314e-05/0.01071, allocations: 49.31 kB / 0.8485 GB, free: 3.418 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002132/0.01092, allocations: 75.56 kB / 0.8486 GB, free: 3.348 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003543/0.01128, allocations: 328 kB / 0.8489 GB, free: 2.984 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.662e-05/0.01131, allocations: 75.98 kB / 0.849 GB, free: 2.891 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 4.06e-05/0.01136, allocations: 21.64 kB / 0.849 GB, free: 2.867 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001777/0.01153, allocations: 123.3 kB / 0.8491 GB, free: 2.746 MB / 0.8073 GB Notification: Performance of SimCode: time 7.11e-07/0.01153, allocations: 0 / 0.8491 GB, free: 2.746 MB / 0.8073 GB Notification: Performance of Templates: time 0.006578/0.01811, allocations: 5.48 MB / 0.8545 GB, free: 13.39 MB / 0.823 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.5177513980306685]