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.001347/0.001347, allocations: 80.92 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.001448/0.001448, allocations: 161 kB / 24.17 MB, free: 332 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.9677/0.9677, allocations: 177.1 MB / 204.6 MB, free: 5.484 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.981/1.981, allocations: 377.9 MB / 0.624 GB, free: 8.332 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 2.144e-06/2.144e-06, allocations: 0 / 0.76 GB, free: 6.625 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.886e-05/3.1e-05, allocations: 2.812 kB / 0.76 GB, free: 6.621 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.001607/0.001638, allocations: 0.9516 MB / 0.761 GB, free: 5.691 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001556/0.003194, allocations: 1.497 MB / 0.7624 GB, free: 4.184 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.201e-05/0.003266, allocations: 1.219 kB / 0.7624 GB, free: 4.184 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 3.974e-05/0.003306, allocations: 15.75 kB / 0.7624 GB, free: 4.168 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.000155/0.003461, allocations: 68.7 kB / 0.7625 GB, free: 4.117 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008085/0.00427, allocations: 424.7 kB / 0.7629 GB, free: 3.703 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.000457/0.004727, allocations: 0.4906 MB / 0.7634 GB, free: 3.215 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001117/0.004838, allocations: 35.61 kB / 0.7634 GB, free: 3.18 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002394/0.005078, allocations: 267.6 kB / 0.7637 GB, free: 2.918 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000165/0.005243, allocations: 127.7 kB / 0.7638 GB, free: 2.793 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 4.833e-05/0.005291, allocations: 48.53 kB / 0.7638 GB, free: 2.746 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 9.177e-05/0.005383, allocations: 67.97 kB / 0.7639 GB, free: 2.68 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 3.461e-05/0.005417, allocations: 37.33 kB / 0.7639 GB, free: 2.645 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.000101/0.005518, allocations: 139.8 kB / 0.7641 GB, free: 2.508 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.000309/0.005827, allocations: 343.1 kB / 0.7644 GB, free: 2.172 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.369e-06/0.005832, allocations: 3.984 kB / 0.7644 GB, free: 2.168 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.323e-06/0.005833, allocations: 5.156 kB / 0.7644 GB, free: 2.164 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.669e-06/0.005838, allocations: 0 / 0.7644 GB, free: 2.164 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.0005643/0.006402, allocations: 0.5182 MB / 0.7649 GB, free: 1.594 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.508e-05/0.006437, allocations: 9.062 kB / 0.7649 GB, free: 1.586 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.705e-05/0.006494, allocations: 32.91 kB / 0.765 GB, free: 1.555 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000116/0.00661, allocations: 160.9 kB / 0.7651 GB, free: 1.371 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.478e-05/0.006635, allocations: 17.41 kB / 0.7651 GB, free: 1.355 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.318e-05/0.006668, allocations: 16.38 kB / 0.7651 GB, free: 1.34 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001254/0.006794, allocations: 114.8 kB / 0.7653 GB, free: 1.207 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.006802, allocations: 192 / 0.7653 GB, free: 1.207 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.386e-06/0.00681, allocations: 1.125 kB / 0.7653 GB, free: 1.207 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.833e-06/0.006817, allocations: 4.375 kB / 0.7653 GB, free: 1.203 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.859e-05/0.006855, allocations: 32.59 kB / 0.7653 GB, free: 1.172 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004512/0.007307, allocations: 0.5247 MB / 0.7658 GB, free: 0.6211 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 8.862e-05/0.007395, allocations: 99.88 kB / 0.7659 GB, free: 500 kB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.933e-05/0.007424, allocations: 27.5 kB / 0.7659 GB, free: 460 kB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 9.267e-06/0.007434, allocations: 13.12 kB / 0.7659 GB, free: 448 kB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000137/0.007571, allocations: 160.8 kB / 0.7661 GB, free: 264 kB / 0.7136 GB Notification: Performance of pre-optimization done (n=16): time 9.82e-07/0.007572, allocations: 1.25 kB / 0.7661 GB, free: 264 kB / 0.7136 GB Notification: Performance of matching and sorting (n=16): time 0.0001993/0.007771, allocations: 129.5 kB / 0.7662 GB, free: 128 kB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.56e-05/0.007837, allocations: 144.5 kB / 0.7664 GB, free: 15.95 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001322/0.007969, allocations: 221 kB / 0.7666 GB, free: 15.73 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 3.507e-05/0.008004, allocations: 38.73 kB / 0.7666 GB, free: 15.69 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 6.813e-05/0.008072, allocations: 112.5 kB / 0.7667 GB, free: 15.57 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.8e-05/0.0081, allocations: 44.64 kB / 0.7668 GB, free: 15.53 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.541e-05/0.008195, allocations: 81.62 kB / 0.7668 GB, free: 15.45 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.263e-05/0.008278, allocations: 334.8 kB / 0.7672 GB, free: 15.11 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001474/0.008426, allocations: 201.9 kB / 0.7673 GB, free: 14.89 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001696/0.008595, allocations: 278.6 kB / 0.7676 GB, free: 14.55 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002184/0.008813, allocations: 307.8 kB / 0.7679 GB, free: 14.2 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.377e-06/0.008817, allocations: 0 / 0.7679 GB, free: 14.2 MB / 0.7292 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003708/0.009188, allocations: 0.5066 MB / 0.7684 GB, free: 13.63 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 7.589e-05/0.009263, allocations: 136.3 kB / 0.7685 GB, free: 13.48 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.537e-06/0.009272, allocations: 4 kB / 0.7685 GB, free: 13.47 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.727e-05/0.009289, allocations: 4 kB / 0.7685 GB, free: 13.47 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.241e-05/0.009352, allocations: 11.94 kB / 0.7685 GB, free: 13.46 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.67e-06/0.009357, allocations: 4.656 kB / 0.7686 GB, free: 13.45 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002497/0.009607, allocations: 85.56 kB / 0.7686 GB, free: 13.37 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.12e-05/0.009638, allocations: 26.34 kB / 0.7687 GB, free: 13.35 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.0001232/0.009761, allocations: 134.4 kB / 0.7688 GB, free: 13.21 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.166e-05/0.009793, allocations: 27.92 kB / 0.7688 GB, free: 13.18 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.752e-05/0.009831, allocations: 22.27 kB / 0.7688 GB, free: 13.15 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.995e-06/0.009834, allocations: 2.5 kB / 0.7688 GB, free: 13.15 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/0.009839, allocations: 4 kB / 0.7688 GB, free: 13.15 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.009844, allocations: 3.938 kB / 0.7688 GB, free: 13.14 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001333/0.009978, allocations: 129.7 kB / 0.769 GB, free: 13 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.009979, allocations: 0 / 0.769 GB, free: 13 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.982e-05/0.01001, allocations: 11.98 kB / 0.769 GB, free: 12.99 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.01001, allocations: 0 / 0.769 GB, free: 12.99 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.516e-06/0.01002, allocations: 10 kB / 0.769 GB, free: 12.98 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.01002, allocations: 0 / 0.769 GB, free: 12.98 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.01002, allocations: 4 kB / 0.769 GB, free: 12.98 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001505/0.01018, allocations: 147.5 kB / 0.7691 GB, free: 12.8 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.756e-05/0.0102, allocations: 11.91 kB / 0.7691 GB, free: 12.79 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.004e-05/0.01022, allocations: 14.38 kB / 0.7692 GB, free: 12.78 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.131e-05/0.01025, allocations: 3.984 kB / 0.7692 GB, free: 12.78 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.514e-05/0.01029, allocations: 15.98 kB / 0.7692 GB, free: 12.76 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.324e-06/0.0103, allocations: 7.984 kB / 0.7692 GB, free: 12.75 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 5.778e-05/0.01035, allocations: 70.78 kB / 0.7693 GB, free: 12.68 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.01035, allocations: 0 / 0.7693 GB, free: 12.68 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001911/0.01055, allocations: 75.83 kB / 0.7693 GB, free: 12.61 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.0001341/0.01068, allocations: 96.48 kB / 0.7694 GB, free: 12.51 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0003649/0.01104, allocations: 0.5143 MB / 0.7699 GB, free: 11.92 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.027e-06/0.01105, allocations: 4 kB / 0.7699 GB, free: 11.91 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 4.498e-05/0.01109, allocations: 41.88 kB / 0.77 GB, free: 11.87 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000222/0.01132, allocations: 69.38 kB / 0.77 GB, free: 11.81 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003858/0.0117, allocations: 330.6 kB / 0.7703 GB, free: 11.45 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.789e-05/0.01174, allocations: 71.98 kB / 0.7704 GB, free: 11.36 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 4.586e-05/0.01178, allocations: 17.64 kB / 0.7704 GB, free: 11.34 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001824/0.01197, allocations: 131.3 kB / 0.7706 GB, free: 11.21 MB / 0.7292 GB Notification: Performance of SimCode: time 1.213e-06/0.01197, allocations: 0 / 0.7706 GB, free: 11.21 MB / 0.7292 GB Notification: Performance of Templates: time 0.006827/0.0188, allocations: 5.473 MB / 0.7759 GB, free: 6 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 -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.286808013916016]