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.001004/0.001004, allocations: 80.8 kB / 20.75 MB, free: 3.742 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.001023/0.001023, allocations: 161 kB / 24.16 MB, free: 336 kB / 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.9686/0.9686, allocations: 177.1 MB / 204.6 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.963/1.963, allocations: 377.9 MB / 0.624 GB, free: 8.34 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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 1.363e-06/1.363e-06, allocations: 0 / 0.7601 GB, free: 6.598 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.539e-05/1.675e-05, allocations: 11.02 kB / 0.7601 GB, free: 6.586 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.001649/0.001666, allocations: 0.9907 MB / 0.761 GB, free: 5.621 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001475/0.003141, allocations: 1.491 MB / 0.7625 GB, free: 4.121 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.065e-05/0.003202, allocations: 4 kB / 0.7625 GB, free: 4.117 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 3.803e-05/0.00324, allocations: 15.75 kB / 0.7625 GB, free: 4.102 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0001551/0.003395, allocations: 71.8 kB / 0.7626 GB, free: 4.047 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006548/0.00405, allocations: 420.9 kB / 0.763 GB, free: 3.637 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.000375/0.004425, allocations: 0.4906 MB / 0.7635 GB, free: 3.148 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 9.64e-05/0.004521, allocations: 30.59 kB / 0.7635 GB, free: 3.117 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002244/0.004745, allocations: 272.3 kB / 0.7638 GB, free: 2.852 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000166/0.004911, allocations: 131.6 kB / 0.7639 GB, free: 2.723 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 4.905e-05/0.00496, allocations: 48.75 kB / 0.7639 GB, free: 2.676 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001023/0.005063, allocations: 63.97 kB / 0.764 GB, free: 2.613 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 3.443e-05/0.005097, allocations: 45.59 kB / 0.764 GB, free: 2.57 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0001036/0.005201, allocations: 135.8 kB / 0.7642 GB, free: 2.438 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0003063/0.005507, allocations: 347 kB / 0.7645 GB, free: 2.098 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.983e-06/0.005509, allocations: 0 / 0.7645 GB, free: 2.098 MB / 0.7136 GB Notification: Performance of FrontEnd: time 8.92e-07/0.00551, allocations: 0 / 0.7645 GB, free: 2.098 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.877e-06/0.005514, allocations: 1.344 kB / 0.7645 GB, free: 2.098 MB / 0.7136 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.0005237/0.006038, allocations: 0.5221 MB / 0.765 GB, free: 1.523 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.27e-05/0.00607, allocations: 8.031 kB / 0.765 GB, free: 1.516 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.558e-05/0.006126, allocations: 36.89 kB / 0.765 GB, free: 1.48 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000111/0.006237, allocations: 158.2 kB / 0.7652 GB, free: 1.301 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.071e-05/0.006258, allocations: 12.38 kB / 0.7652 GB, free: 1.289 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.461e-05/0.006292, allocations: 32.3 kB / 0.7652 GB, free: 1.258 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001095/0.006402, allocations: 99.59 kB / 0.7653 GB, free: 1.141 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/0.006409, allocations: 192 / 0.7653 GB, free: 1.141 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.129e-05/0.00642, allocations: 16.34 kB / 0.7653 GB, free: 1.125 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.541e-06/0.006426, allocations: 1.375 kB / 0.7653 GB, free: 1.125 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.937e-05/0.006465, allocations: 31.84 kB / 0.7654 GB, free: 1.094 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004445/0.00691, allocations: 0.5233 MB / 0.7659 GB, free: 0.5469 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 8.074e-05/0.006991, allocations: 94.41 kB / 0.766 GB, free: 428 kB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.069e-05/0.007021, allocations: 39.42 kB / 0.766 GB, free: 376 kB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 8.566e-06/0.00703, allocations: 3.938 kB / 0.766 GB, free: 372 kB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001388/0.007169, allocations: 158.6 kB / 0.7662 GB, free: 188 kB / 0.7136 GB Notification: Performance of pre-optimization done (n=16): time 1.202e-06/0.00717, allocations: 3.031 kB / 0.7662 GB, free: 188 kB / 0.7136 GB Notification: Performance of matching and sorting (n=16): time 0.0001939/0.007364, allocations: 133.5 kB / 0.7663 GB, free: 48 kB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.806e-05/0.007422, allocations: 136.5 kB / 0.7664 GB, free: 15.88 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001241/0.007546, allocations: 217 kB / 0.7666 GB, free: 15.66 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 3.007e-05/0.007576, allocations: 37.7 kB / 0.7667 GB, free: 15.62 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 5.724e-05/0.007633, allocations: 124.5 kB / 0.7668 GB, free: 15.5 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.154e-05/0.007655, allocations: 31.72 kB / 0.7668 GB, free: 15.46 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.281e-05/0.007748, allocations: 89.55 kB / 0.7669 GB, free: 15.37 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.037e-05/0.007828, allocations: 332.3 kB / 0.7672 GB, free: 15.04 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00014/0.007968, allocations: 199 kB / 0.7674 GB, free: 14.82 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001608/0.008129, allocations: 278.6 kB / 0.7677 GB, free: 14.48 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002/0.008329, allocations: 311.4 kB / 0.768 GB, free: 14.12 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.008332, allocations: 2.438 kB / 0.768 GB, free: 14.12 MB / 0.7292 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003823/0.008714, allocations: 0.5027 MB / 0.7685 GB, free: 13.56 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 7.073e-05/0.008785, allocations: 134.8 kB / 0.7686 GB, free: 13.41 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.008792, allocations: 6.875 kB / 0.7686 GB, free: 13.4 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/0.008807, allocations: 4 kB / 0.7686 GB, free: 13.4 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.966e-05/0.008867, allocations: 16.92 kB / 0.7686 GB, free: 13.38 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.763e-06/0.008874, allocations: 7.938 kB / 0.7686 GB, free: 13.38 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002417/0.009115, allocations: 80.5 kB / 0.7687 GB, free: 13.3 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.354e-05/0.009149, allocations: 29.27 kB / 0.7687 GB, free: 13.27 MB / 0.7292 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.0001124/0.009261, allocations: 135.8 kB / 0.7689 GB, free: 13.13 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.02e-05/0.009292, allocations: 27.86 kB / 0.7689 GB, free: 13.1 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.624e-05/0.009328, allocations: 21.33 kB / 0.7689 GB, free: 13.08 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.958e-06/0.009332, allocations: 5.281 kB / 0.7689 GB, free: 13.07 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.635e-06/0.009334, allocations: 0 / 0.7689 GB, free: 13.07 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.701e-06/0.00934, allocations: 4 kB / 0.7689 GB, free: 13.07 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001073/0.009447, allocations: 125.7 kB / 0.769 GB, free: 12.93 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.009449, allocations: 4.719 kB / 0.769 GB, free: 12.93 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.396e-05/0.009473, allocations: 8 kB / 0.7691 GB, free: 12.92 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/0.009477, allocations: 4.547 kB / 0.7691 GB, free: 12.91 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.165e-06/0.009485, allocations: 12.66 kB / 0.7691 GB, free: 12.9 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.009486, allocations: 0 / 0.7691 GB, free: 12.9 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.009488, allocations: 4.688 kB / 0.7691 GB, free: 12.9 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001136/0.009602, allocations: 141.8 kB / 0.7692 GB, free: 12.73 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.759e-05/0.00962, allocations: 12.44 kB / 0.7692 GB, free: 12.72 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.609e-05/0.009636, allocations: 12.56 kB / 0.7692 GB, free: 12.71 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.703e-05/0.009663, allocations: 0 / 0.7692 GB, free: 12.71 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.02e-05/0.009693, allocations: 21.47 kB / 0.7693 GB, free: 12.69 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.262e-06/0.009699, allocations: 7.938 kB / 0.7693 GB, free: 12.68 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 5.189e-05/0.009751, allocations: 70.78 kB / 0.7693 GB, free: 12.61 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.009751, allocations: 0 / 0.7693 GB, free: 12.61 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001872/0.009938, allocations: 76.84 kB / 0.7694 GB, free: 12.54 MB / 0.7292 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.0001095/0.01005, allocations: 89.66 kB / 0.7695 GB, free: 12.44 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.000346/0.01039, allocations: 0.5184 MB / 0.77 GB, free: 11.85 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 5.35e-06/0.0104, allocations: 5.438 kB / 0.77 GB, free: 11.84 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 4.487e-05/0.01044, allocations: 48.72 kB / 0.77 GB, free: 11.79 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002042/0.01065, allocations: 66.09 kB / 0.7701 GB, free: 11.73 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003609/0.01101, allocations: 327.9 kB / 0.7704 GB, free: 11.38 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.017e-05/0.01105, allocations: 71.98 kB / 0.7705 GB, free: 11.29 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 4.534e-05/0.01109, allocations: 20.45 kB / 0.7705 GB, free: 11.27 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002013/0.0113, allocations: 127.3 kB / 0.7706 GB, free: 11.14 MB / 0.7292 GB Notification: Performance of SimCode: time 9.51e-07/0.0113, allocations: 0 / 0.7706 GB, free: 11.14 MB / 0.7292 GB Notification: Performance of Templates: time 0.006708/0.018, allocations: 5.483 MB / 0.776 GB, free: 5.914 MB / 0.7292 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 -s gbode -gbm=radauIIA3 -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.136926922015846]