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.001413/0.001413, allocations: 93.06 kB / 19.65 MB, free: 276 kB / 13.93 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.001508/0.001508, allocations: 169 kB / 23.02 MB, free: 1.551 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 1.023/1.023, allocations: 177.1 MB / 203.4 MB, free: 5.637 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.175/2.175, allocations: 429.5 MB / 0.6732 GB, free: 4 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.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.533e-06/1.533e-06, allocations: 0 / 0.8782 GB, free: 6.301 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.524e-05/1.677e-05, allocations: 3.188 kB / 0.8782 GB, free: 6.297 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.001706/0.001723, allocations: 0.9754 MB / 0.8791 GB, free: 5.344 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001587/0.00331, allocations: 1.482 MB / 0.8806 GB, free: 3.852 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.594e-05/0.003366, allocations: 1.594 kB / 0.8806 GB, free: 3.852 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 4.066e-05/0.003407, allocations: 15.75 kB / 0.8806 GB, free: 3.836 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001397/0.003547, allocations: 71.81 kB / 0.8807 GB, free: 3.766 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007841/0.004331, allocations: 425.2 kB / 0.8811 GB, free: 3.352 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0004407/0.004771, allocations: 0.4895 MB / 0.8815 GB, free: 2.863 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000114/0.004885, allocations: 29.94 kB / 0.8816 GB, free: 2.832 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002496/0.005135, allocations: 263.6 kB / 0.8818 GB, free: 2.574 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002045/0.005339, allocations: 131.6 kB / 0.8819 GB, free: 2.445 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 7.315e-05/0.005413, allocations: 52 kB / 0.882 GB, free: 2.395 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001002/0.005513, allocations: 60.7 kB / 0.8821 GB, free: 2.336 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 3.621e-05/0.005549, allocations: 35.84 kB / 0.8821 GB, free: 2.301 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0001405/0.00569, allocations: 145.4 kB / 0.8822 GB, free: 2.16 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.000346/0.006036, allocations: 343.1 kB / 0.8826 GB, free: 1.824 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.104e-06/0.006038, allocations: 0 / 0.8826 GB, free: 1.824 MB / 0.8386 GB Notification: Performance of FrontEnd: time 5.31e-07/0.006038, allocations: 0 / 0.8826 GB, free: 1.824 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.428e-06/0.006043, allocations: 0 / 0.8826 GB, free: 1.824 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0006506/0.006693, allocations: 0.6637 MB / 0.8832 GB, free: 1.098 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.092e-05/0.006734, allocations: 8.031 kB / 0.8832 GB, free: 1.09 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.842e-05/0.006823, allocations: 40.8 kB / 0.8833 GB, free: 1.051 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001385/0.006961, allocations: 159.8 kB / 0.8834 GB, free: 0.8711 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.145e-05/0.006992, allocations: 24.3 kB / 0.8834 GB, free: 0.8477 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.735e-05/0.00704, allocations: 20.38 kB / 0.8834 GB, free: 0.8281 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001716/0.007211, allocations: 129.6 kB / 0.8836 GB, free: 0.6758 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.686e-06/0.00722, allocations: 192 / 0.8836 GB, free: 0.6758 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.263e-05/0.007233, allocations: 384 / 0.8836 GB, free: 0.6758 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.426e-06/0.007241, allocations: 4.375 kB / 0.8836 GB, free: 0.6719 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.825e-05/0.007309, allocations: 35.84 kB / 0.8836 GB, free: 0.6367 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007567/0.008066, allocations: 0.9024 MB / 0.8845 GB, free: 15.68 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001367/0.008203, allocations: 140.3 kB / 0.8846 GB, free: 15.5 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.267e-05/0.008255, allocations: 46.81 kB / 0.8847 GB, free: 15.43 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 9.347e-06/0.008265, allocations: 3.938 kB / 0.8847 GB, free: 15.43 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001834/0.008448, allocations: 183.6 kB / 0.8848 GB, free: 15.22 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=16): time 1.293e-06/0.008449, allocations: 3.938 kB / 0.8849 GB, free: 15.21 MB / 0.8542 GB Notification: Performance of matching and sorting (n=16): time 0.0003504/0.0088, allocations: 178.2 kB / 0.885 GB, free: 15.04 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.21e-05/0.008862, allocations: 140.4 kB / 0.8852 GB, free: 14.87 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002129/0.009075, allocations: 280.3 kB / 0.8854 GB, free: 14.57 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 4.021e-05/0.009115, allocations: 41.7 kB / 0.8855 GB, free: 14.53 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001087/0.009224, allocations: 183.2 kB / 0.8856 GB, free: 14.34 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.95e-05/0.009253, allocations: 31.73 kB / 0.8857 GB, free: 14.31 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001494/0.009403, allocations: 99.3 kB / 0.8858 GB, free: 14.21 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001654/0.009568, allocations: 0.5001 MB / 0.8863 GB, free: 13.7 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002653/0.009833, allocations: 227 kB / 0.8865 GB, free: 13.45 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003074/0.01014, allocations: 340.6 kB / 0.8868 GB, free: 13.04 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003211/0.01046, allocations: 362.8 kB / 0.8871 GB, free: 12.61 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.018e-06/0.01047, allocations: 4 kB / 0.8871 GB, free: 12.61 MB / 0.8542 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0007392/0.0112, allocations: 0.6199 MB / 0.8877 GB, free: 11.93 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 7.406e-05/0.01128, allocations: 134.8 kB / 0.8879 GB, free: 11.77 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.01129, allocations: 12.25 kB / 0.8879 GB, free: 11.76 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.604e-05/0.0113, allocations: 4 kB / 0.8879 GB, free: 11.76 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.272e-05/0.01137, allocations: 15.92 kB / 0.8879 GB, free: 11.74 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.305e-06/0.01137, allocations: 4 kB / 0.8879 GB, free: 11.74 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003307/0.0117, allocations: 87.75 kB / 0.888 GB, free: 11.65 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.654e-05/0.01175, allocations: 27.98 kB / 0.888 GB, free: 11.62 MB / 0.8542 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.0001248/0.01188, allocations: 189.6 kB / 0.8882 GB, free: 11.43 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.386e-05/0.01191, allocations: 27.84 kB / 0.8882 GB, free: 11.4 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.726e-05/0.01195, allocations: 25.33 kB / 0.8883 GB, free: 11.38 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.01195, allocations: 0 / 0.8883 GB, free: 11.38 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.01195, allocations: 11.88 kB / 0.8883 GB, free: 11.37 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.01196, allocations: 0 / 0.8883 GB, free: 11.37 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001589/0.01212, allocations: 188.5 kB / 0.8884 GB, free: 11.15 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.01212, allocations: 0 / 0.8884 GB, free: 11.15 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.594e-05/0.01214, allocations: 8 kB / 0.8885 GB, free: 11.14 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.01215, allocations: 8 kB / 0.8885 GB, free: 11.13 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.246e-05/0.01216, allocations: 11.98 kB / 0.8885 GB, free: 11.12 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.01216, allocations: 0 / 0.8885 GB, free: 11.12 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.01216, allocations: 0 / 0.8885 GB, free: 11.12 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002248/0.01239, allocations: 222.1 kB / 0.8887 GB, free: 10.87 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.799e-05/0.01242, allocations: 23.86 kB / 0.8887 GB, free: 10.85 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.001e-05/0.01244, allocations: 4 kB / 0.8887 GB, free: 10.84 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.02e-05/0.01248, allocations: 3.984 kB / 0.8887 GB, free: 10.84 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.508e-05/0.01252, allocations: 15.98 kB / 0.8887 GB, free: 10.82 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.049e-05/0.01253, allocations: 8 kB / 0.8887 GB, free: 10.82 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001149/0.01265, allocations: 193.1 kB / 0.8889 GB, free: 10.63 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7e-08/0.01265, allocations: 4 kB / 0.8889 GB, free: 10.63 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003102/0.01296, allocations: 71.92 kB / 0.889 GB, free: 10.56 MB / 0.8542 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.0001147/0.01307, allocations: 108.1 kB / 0.8891 GB, free: 10.44 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0005394/0.01361, allocations: 0.5545 MB / 0.8896 GB, free: 9.809 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.01361, allocations: 0 / 0.8896 GB, free: 9.809 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 7.667e-05/0.01369, allocations: 56.09 kB / 0.8897 GB, free: 9.75 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000349/0.01404, allocations: 79.78 kB / 0.8898 GB, free: 9.676 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004626/0.0145, allocations: 350.1 kB / 0.8901 GB, free: 9.289 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.645e-05/0.01455, allocations: 79.97 kB / 0.8902 GB, free: 9.191 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 4.591e-05/0.01459, allocations: 18.39 kB / 0.8902 GB, free: 9.176 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.586e-05/0.01463, allocations: 20.5 kB / 0.8902 GB, free: 9.152 MB / 0.8542 GB Notification: Performance of SimCode: time 5.81e-07/0.01463, allocations: 0 / 0.8902 GB, free: 9.152 MB / 0.8542 GB Notification: Performance of Templates: time 0.007578/0.02221, allocations: 5.077 MB / 0.8952 GB, free: 4.195 MB / 0.8542 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.755688141100109]