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.001411/0.001411, allocations: 92.31 kB / 20.19 MB, free: 4.355 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.001863/0.001863, allocations: 172.9 kB / 23.49 MB, free: 1.051 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.04/1.04, allocations: 177.1 MB / 203.8 MB, free: 5.633 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.083/2.083, allocations: 429.5 MB / 0.6736 GB, free: 4.027 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 2.154e-06/2.154e-06, allocations: 0 / 0.8782 GB, free: 6.633 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.479e-05/2.694e-05, allocations: 6.25 kB / 0.8782 GB, free: 6.625 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.004896/0.004922, allocations: 0.9666 MB / 0.8791 GB, free: 5.68 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001751/0.006674, allocations: 1.488 MB / 0.8806 GB, free: 4.18 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.47e-05/0.006749, allocations: 0 / 0.8806 GB, free: 4.18 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.953e-05/0.006788, allocations: 12.88 kB / 0.8806 GB, free: 4.168 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001449/0.006933, allocations: 64.62 kB / 0.8807 GB, free: 4.105 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.003918/0.01085, allocations: 432.1 kB / 0.8811 GB, free: 3.684 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0005041/0.01135, allocations: 492.1 kB / 0.8816 GB, free: 3.203 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001264/0.01148, allocations: 39.03 kB / 0.8816 GB, free: 3.164 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002668/0.01175, allocations: 263.6 kB / 0.8818 GB, free: 2.906 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001905/0.01194, allocations: 127.7 kB / 0.882 GB, free: 2.781 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 6.456e-05/0.012, allocations: 49.09 kB / 0.882 GB, free: 2.734 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 9.846e-05/0.0121, allocations: 63.98 kB / 0.8821 GB, free: 2.672 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 4.132e-05/0.01214, allocations: 39.78 kB / 0.8821 GB, free: 2.633 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0001442/0.01229, allocations: 136.5 kB / 0.8822 GB, free: 2.5 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.00037/0.01266, allocations: 339.1 kB / 0.8826 GB, free: 2.168 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.224e-06/0.01266, allocations: 5.5 kB / 0.8826 GB, free: 2.164 MB / 0.8386 GB Notification: Performance of FrontEnd: time 7.61e-07/0.01266, allocations: 0 / 0.8826 GB, free: 2.164 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.619e-06/0.01266, allocations: 4 kB / 0.8826 GB, free: 2.16 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.003691/0.01636, allocations: 0.6585 MB / 0.8832 GB, free: 1.438 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.914e-05/0.01639, allocations: 8.938 kB / 0.8832 GB, free: 1.43 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.554e-05/0.01649, allocations: 36.8 kB / 0.8833 GB, free: 1.395 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001512/0.01664, allocations: 167.7 kB / 0.8834 GB, free: 1.207 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.041e-05/0.01667, allocations: 21.39 kB / 0.8834 GB, free: 1.188 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.538e-05/0.01672, allocations: 20.38 kB / 0.8835 GB, free: 1.168 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001657/0.01688, allocations: 124.3 kB / 0.8836 GB, free: 1.023 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.896e-06/0.01689, allocations: 0.75 kB / 0.8836 GB, free: 1.023 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.316e-05/0.0169, allocations: 12.95 kB / 0.8836 GB, free: 1.012 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.015e-06/0.01691, allocations: 384 / 0.8836 GB, free: 1.012 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.876e-05/0.01698, allocations: 37.44 kB / 0.8836 GB, free: 0.9766 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007412/0.01772, allocations: 0.9063 MB / 0.8845 GB, free: 20 kB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001381/0.01786, allocations: 139.5 kB / 0.8846 GB, free: 15.84 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.1e-05/0.01791, allocations: 42.81 kB / 0.8847 GB, free: 15.78 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 8.436e-06/0.01792, allocations: 4 kB / 0.8847 GB, free: 15.77 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001929/0.01811, allocations: 175.6 kB / 0.8849 GB, free: 15.57 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=16): time 1.523e-06/0.01811, allocations: 0 / 0.8849 GB, free: 15.57 MB / 0.8542 GB Notification: Performance of matching and sorting (n=16): time 0.0003611/0.01848, allocations: 185.4 kB / 0.885 GB, free: 15.38 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.421e-05/0.01854, allocations: 141.8 kB / 0.8852 GB, free: 15.21 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002117/0.01875, allocations: 276.3 kB / 0.8854 GB, free: 14.93 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 4.346e-05/0.0188, allocations: 41.69 kB / 0.8855 GB, free: 14.88 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001098/0.0189, allocations: 180.8 kB / 0.8856 GB, free: 14.7 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.331e-05/0.01894, allocations: 35.75 kB / 0.8857 GB, free: 14.66 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001374/0.01908, allocations: 99.23 kB / 0.8858 GB, free: 14.56 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.003147/0.02222, allocations: 0.5001 MB / 0.8863 GB, free: 14.05 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002734/0.0225, allocations: 230.9 kB / 0.8865 GB, free: 13.79 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003091/0.0228, allocations: 341.7 kB / 0.8868 GB, free: 13.39 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003352/0.02314, allocations: 370.7 kB / 0.8872 GB, free: 12.95 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.02314, allocations: 0 / 0.8872 GB, free: 12.95 MB / 0.8542 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0007658/0.02391, allocations: 0.6279 MB / 0.8878 GB, free: 12.27 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 8.402e-05/0.02399, allocations: 134.8 kB / 0.8879 GB, free: 12.11 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.775e-06/0.024, allocations: 0 / 0.8879 GB, free: 12.11 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.627e-05/0.02402, allocations: 4 kB / 0.8879 GB, free: 12.11 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.692e-05/0.02409, allocations: 19.92 kB / 0.8879 GB, free: 12.09 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.476e-06/0.0241, allocations: 4 kB / 0.8879 GB, free: 12.08 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003464/0.02445, allocations: 87.88 kB / 0.888 GB, free: 12 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.572e-05/0.02449, allocations: 23.98 kB / 0.888 GB, free: 11.97 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.0001481/0.02464, allocations: 190.3 kB / 0.8882 GB, free: 11.78 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.862e-05/0.02468, allocations: 31.86 kB / 0.8883 GB, free: 11.75 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.139e-05/0.02472, allocations: 21.33 kB / 0.8883 GB, free: 11.73 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.339e-06/0.02473, allocations: 4 kB / 0.8883 GB, free: 11.72 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.02473, allocations: 0 / 0.8883 GB, free: 11.72 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.812e-06/0.02474, allocations: 4 kB / 0.8883 GB, free: 11.72 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001816/0.02492, allocations: 188.5 kB / 0.8885 GB, free: 11.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.02492, allocations: 4 kB / 0.8885 GB, free: 11.5 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.703e-05/0.02495, allocations: 8 kB / 0.8885 GB, free: 11.49 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.911e-06/0.02496, allocations: 11.92 kB / 0.8885 GB, free: 11.48 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.196e-05/0.02497, allocations: 3.984 kB / 0.8885 GB, free: 11.47 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.959e-06/0.02497, allocations: 4 kB / 0.8885 GB, free: 11.47 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.02498, allocations: 0 / 0.8885 GB, free: 11.47 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003262/0.02824, allocations: 215.2 kB / 0.8887 GB, free: 11.22 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.87e-05/0.02827, allocations: 23.86 kB / 0.8887 GB, free: 11.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.203e-05/0.02829, allocations: 0 / 0.8887 GB, free: 11.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.237e-05/0.02833, allocations: 11.98 kB / 0.8887 GB, free: 11.19 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.475e-05/0.02838, allocations: 15.92 kB / 0.8887 GB, free: 11.17 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.454e-05/0.02839, allocations: 15.98 kB / 0.8888 GB, free: 11.16 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001195/0.02851, allocations: 189.1 kB / 0.8889 GB, free: 10.98 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7e-08/0.02851, allocations: 3.938 kB / 0.8889 GB, free: 10.97 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003141/0.02882, allocations: 75.92 kB / 0.889 GB, free: 10.9 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.0001425/0.02897, allocations: 100.2 kB / 0.8891 GB, free: 10.79 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0005797/0.02955, allocations: 0.5588 MB / 0.8897 GB, free: 10.15 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.02955, allocations: 4.062 kB / 0.8897 GB, free: 10.15 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 7.973e-05/0.02963, allocations: 51.59 kB / 0.8897 GB, free: 10.09 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003624/0.02999, allocations: 72.33 kB / 0.8898 GB, free: 10.02 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005136/0.0305, allocations: 349.5 kB / 0.8901 GB, free: 9.641 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.495e-05/0.03056, allocations: 79.92 kB / 0.8902 GB, free: 9.543 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 5.464e-05/0.03061, allocations: 17.64 kB / 0.8902 GB, free: 9.527 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.824e-05/0.03065, allocations: 20.5 kB / 0.8902 GB, free: 9.504 MB / 0.8542 GB Notification: Performance of SimCode: time 1.022e-06/0.03065, allocations: 0 / 0.8902 GB, free: 9.504 MB / 0.8542 GB Notification: Performance of Templates: time 0.008193/0.03885, allocations: 5.074 MB / 0.8952 GB, free: 4.539 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.6547795459628105]