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.001425/0.001425, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.0011/0.0011, allocations: 177 kB / 23.36 MB, free: 1.129 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.9901/0.9901, 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.475/2.475, allocations: 438.8 MB / 0.6827 GB, free: 13.57 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 1.923e-06/1.923e-06, allocations: 0 / 0.8386 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.327e-05/2.52e-05, allocations: 6.25 kB / 0.8386 GB, free: 14.12 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.001752/0.001777, allocations: 0.975 MB / 0.8396 GB, free: 13.14 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.001575/0.003352, allocations: 1.505 MB / 0.8411 GB, free: 11.62 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.93e-05/0.003422, allocations: 4 kB / 0.8411 GB, free: 11.62 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 3.947e-05/0.003461, allocations: 19.73 kB / 0.8411 GB, free: 11.6 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.000151/0.003612, allocations: 67.5 kB / 0.8411 GB, free: 11.54 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008107/0.004423, allocations: 427.1 kB / 0.8416 GB, free: 11.12 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0004488/0.004872, allocations: 498.9 kB / 0.842 GB, free: 10.63 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001084/0.00498, allocations: 34.58 kB / 0.8421 GB, free: 10.6 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002502/0.00523, allocations: 259.6 kB / 0.8423 GB, free: 10.34 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001797/0.00541, allocations: 139.7 kB / 0.8424 GB, free: 10.21 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 5.242e-05/0.005462, allocations: 48 kB / 0.8425 GB, free: 10.16 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000109/0.005571, allocations: 59.94 kB / 0.8425 GB, free: 10.1 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 3.122e-05/0.005603, allocations: 39.83 kB / 0.8426 GB, free: 10.06 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 9.788e-05/0.0057, allocations: 131.8 kB / 0.8427 GB, free: 9.934 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0003035/0.006004, allocations: 347 kB / 0.843 GB, free: 9.594 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.006007, allocations: 0 / 0.843 GB, free: 9.594 MB / 0.8073 GB Notification: Performance of FrontEnd: time 7.32e-07/0.006008, allocations: 0 / 0.843 GB, free: 9.594 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 5.761e-06/0.006014, allocations: 0 / 0.843 GB, free: 9.594 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.0005268/0.00654, allocations: 0.5298 MB / 0.8436 GB, free: 9.012 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.335e-05/0.006574, allocations: 12.03 kB / 0.8436 GB, free: 9 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.88e-05/0.006633, allocations: 36.91 kB / 0.8436 GB, free: 8.965 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001156/0.006748, allocations: 149 kB / 0.8438 GB, free: 8.789 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.485e-05/0.006773, allocations: 20.36 kB / 0.8438 GB, free: 8.77 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.346e-05/0.006807, allocations: 24.31 kB / 0.8438 GB, free: 8.746 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001188/0.006925, allocations: 110.3 kB / 0.8439 GB, free: 8.617 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.428e-06/0.006935, allocations: 4.188 kB / 0.8439 GB, free: 8.613 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.335e-06/0.006943, allocations: 384 / 0.8439 GB, free: 8.613 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.763e-06/0.00695, allocations: 384 / 0.8439 GB, free: 8.613 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.028e-05/0.00699, allocations: 31.84 kB / 0.8439 GB, free: 8.582 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000482/0.007472, allocations: 0.5357 MB / 0.8445 GB, free: 8.02 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 8.497e-05/0.007557, allocations: 94.42 kB / 0.8445 GB, free: 7.891 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.936e-05/0.007586, allocations: 31.44 kB / 0.8446 GB, free: 7.848 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 9.848e-06/0.007596, allocations: 7.938 kB / 0.8446 GB, free: 7.84 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001505/0.007747, allocations: 162.6 kB / 0.8447 GB, free: 7.656 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=16): time 1.343e-06/0.007748, allocations: 0 / 0.8447 GB, free: 7.656 MB / 0.8073 GB Notification: Performance of matching and sorting (n=16): time 0.0002095/0.007958, allocations: 133.5 kB / 0.8449 GB, free: 7.52 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.499e-05/0.008013, allocations: 136.5 kB / 0.845 GB, free: 7.355 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001359/0.008149, allocations: 221 kB / 0.8452 GB, free: 7.129 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 3.391e-05/0.008182, allocations: 37.7 kB / 0.8452 GB, free: 7.086 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 6.229e-05/0.008245, allocations: 120.5 kB / 0.8454 GB, free: 6.965 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.698e-05/0.008272, allocations: 39.67 kB / 0.8454 GB, free: 6.926 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001021/0.008374, allocations: 81.62 kB / 0.8455 GB, free: 6.84 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 9.434e-05/0.008468, allocations: 338.8 kB / 0.8458 GB, free: 6.5 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001546/0.008623, allocations: 195 kB / 0.846 GB, free: 6.281 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001786/0.008801, allocations: 283.1 kB / 0.8463 GB, free: 5.945 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002142/0.009016, allocations: 308.9 kB / 0.8465 GB, free: 5.582 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.706e-06/0.009018, allocations: 0 / 0.8465 GB, free: 5.582 MB / 0.8073 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003768/0.009395, allocations: 0.5068 MB / 0.847 GB, free: 5.02 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 6.89e-05/0.009464, allocations: 138.8 kB / 0.8472 GB, free: 4.859 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.009471, allocations: 4 kB / 0.8472 GB, free: 4.855 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.465e-05/0.009485, allocations: 4 kB / 0.8472 GB, free: 4.852 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.71e-05/0.009543, allocations: 15.98 kB / 0.8472 GB, free: 4.836 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.009548, allocations: 7.938 kB / 0.8472 GB, free: 4.828 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002582/0.009807, allocations: 83.81 kB / 0.8473 GB, free: 4.746 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.164e-05/0.009838, allocations: 23.98 kB / 0.8473 GB, free: 4.723 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.272e-05/0.009931, allocations: 130.7 kB / 0.8474 GB, free: 4.586 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.551e-05/0.009956, allocations: 27.86 kB / 0.8475 GB, free: 4.559 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.998e-05/0.009986, allocations: 25.33 kB / 0.8475 GB, free: 4.539 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.009989, allocations: 0 / 0.8475 GB, free: 4.539 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.009993, allocations: 4 kB / 0.8475 GB, free: 4.535 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.009996, allocations: 0 / 0.8475 GB, free: 4.535 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001172/0.01011, allocations: 122.7 kB / 0.8476 GB, free: 4.398 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.01012, allocations: 4 kB / 0.8476 GB, free: 4.395 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.464e-05/0.01014, allocations: 11.98 kB / 0.8476 GB, free: 4.383 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.01014, allocations: 0 / 0.8476 GB, free: 4.383 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.726e-06/0.01015, allocations: 11.88 kB / 0.8476 GB, free: 4.371 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.01015, allocations: 0 / 0.8476 GB, free: 4.371 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.01016, allocations: 8 kB / 0.8476 GB, free: 4.363 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001295/0.01028, allocations: 143.6 kB / 0.8478 GB, free: 4.195 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.127e-05/0.01031, allocations: 19.84 kB / 0.8478 GB, free: 4.176 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.721e-05/0.01032, allocations: 11.94 kB / 0.8478 GB, free: 4.164 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.007e-05/0.01035, allocations: 3.984 kB / 0.8478 GB, free: 4.16 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.068e-05/0.01038, allocations: 15.98 kB / 0.8478 GB, free: 4.145 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.643e-06/0.01039, allocations: 8 kB / 0.8478 GB, free: 4.137 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 5.461e-05/0.01045, allocations: 74.77 kB / 0.8479 GB, free: 4.059 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6e-08/0.01045, allocations: 0 / 0.8479 GB, free: 4.059 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002051/0.01065, allocations: 67.94 kB / 0.848 GB, free: 3.992 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.0001356/0.01079, allocations: 96 kB / 0.8481 GB, free: 3.895 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0003605/0.01115, allocations: 0.5131 MB / 0.8486 GB, free: 3.305 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 5.3e-06/0.01115, allocations: 8.125 kB / 0.8486 GB, free: 3.297 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 4.773e-05/0.0112, allocations: 48.72 kB / 0.8486 GB, free: 3.246 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002268/0.01143, allocations: 60.38 kB / 0.8487 GB, free: 3.188 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000414/0.01184, allocations: 332 kB / 0.849 GB, free: 2.82 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.127e-05/0.01188, allocations: 71.98 kB / 0.8491 GB, free: 2.73 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 5.243e-05/0.01193, allocations: 17.64 kB / 0.8491 GB, free: 2.711 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002002/0.01213, allocations: 123.3 kB / 0.8492 GB, free: 2.59 MB / 0.8073 GB Notification: Performance of SimCode: time 4.81e-07/0.01213, allocations: 0 / 0.8492 GB, free: 2.59 MB / 0.8073 GB Notification: Performance of Templates: time 0.007028/0.01916, allocations: 5.482 MB / 0.8545 GB, free: 13.23 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 -s gbode -gbm=radauIIA3 -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.487016620114446]