Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.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.00113/0.00113, allocations: 73.97 kB / 20.66 MB, free: 3.844 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.001771/0.001771, allocations: 169.4 kB / 24.05 MB, free: 460 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 1.055/1.055, allocations: 177.1 MB / 204.5 MB, free: 5.508 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.23/2.23, allocations: 429.5 MB / 0.6743 GB, free: 3.875 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.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant") translateModel(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.833e-06/1.833e-06, allocations: 0 / 0.8794 GB, free: 5.996 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.595e-05/1.778e-05, allocations: 8.281 kB / 0.8794 GB, free: 5.988 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant): time 0.001719/0.001737, allocations: 0.5532 MB / 0.88 GB, free: 5.457 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 5.967e-05/0.001796, allocations: 0.9062 kB / 0.88 GB, free: 5.457 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.378e-05/0.00183, allocations: 0 / 0.88 GB, free: 5.457 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.11e-05/0.001861, allocations: 8.781 kB / 0.88 GB, free: 5.449 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 3.424e-05/0.001895, allocations: 0 / 0.88 GB, free: 5.449 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 4.293e-05/0.001938, allocations: 0.75 kB / 0.88 GB, free: 5.449 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 6.435e-05/0.002003, allocations: 4.766 kB / 0.88 GB, free: 5.445 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 5.029e-05/0.002053, allocations: 4.734 kB / 0.88 GB, free: 5.441 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 3.269e-05/0.002086, allocations: 4.875 kB / 0.88 GB, free: 5.438 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 2.243e-05/0.002108, allocations: 0.5625 kB / 0.88 GB, free: 5.438 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.547e-05/0.002124, allocations: 0.6875 kB / 0.88 GB, free: 5.438 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 3.557e-06/0.002127, allocations: 0 / 0.88 GB, free: 5.438 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.52e-05/0.002142, allocations: 5.703 kB / 0.88 GB, free: 5.434 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 1.441e-05/0.002157, allocations: 0 / 0.88 GB, free: 5.434 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 5.285e-05/0.00221, allocations: 1 kB / 0.88 GB, free: 5.434 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.002213, allocations: 4 kB / 0.88 GB, free: 5.43 MB / 0.8386 GB Notification: Performance of FrontEnd: time 4.61e-07/0.002213, allocations: 0 / 0.88 GB, free: 5.43 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.118e-06/0.002217, allocations: 1.719 kB / 0.88 GB, free: 5.43 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002687/0.002486, allocations: 340.4 kB / 0.8803 GB, free: 5.059 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.531e-05/0.002521, allocations: 9.156 kB / 0.8803 GB, free: 5.051 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.353e-05/0.002545, allocations: 1.281 kB / 0.8803 GB, free: 5.051 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.479e-05/0.00264, allocations: 116.6 kB / 0.8804 GB, free: 4.91 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.006e-05/0.00265, allocations: 1.5 kB / 0.8804 GB, free: 4.91 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.9e-06/0.002655, allocations: 1.469 kB / 0.8804 GB, free: 4.91 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.17e-05/0.002716, allocations: 30.2 kB / 0.8805 GB, free: 4.875 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.843e-06/0.002723, allocations: 0.9688 kB / 0.8805 GB, free: 4.875 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.833e-06/0.00273, allocations: 8.359 kB / 0.8805 GB, free: 4.867 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.002735, allocations: 0.875 kB / 0.8805 GB, free: 4.867 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.857e-06/0.002744, allocations: 5.625 kB / 0.8805 GB, free: 4.863 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002461/0.00299, allocations: 454.8 kB / 0.8809 GB, free: 4.391 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 9.757e-05/0.003088, allocations: 265.4 kB / 0.8812 GB, free: 4.117 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.118e-05/0.003129, allocations: 138.9 kB / 0.8813 GB, free: 3.977 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.348e-05/0.003162, allocations: 120.4 kB / 0.8814 GB, free: 3.859 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.213e-05/0.003214, allocations: 153.2 kB / 0.8816 GB, free: 3.699 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 1.022e-06/0.003216, allocations: 0 / 0.8816 GB, free: 3.699 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 6.17e-05/0.003277, allocations: 34.73 kB / 0.8816 GB, free: 3.66 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.345e-05/0.003351, allocations: 170.6 kB / 0.8818 GB, free: 3.48 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.233e-05/0.003433, allocations: 150.6 kB / 0.8819 GB, free: 3.316 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.092e-05/0.003444, allocations: 29.64 kB / 0.8819 GB, free: 3.281 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.857e-05/0.003492, allocations: 135.5 kB / 0.8821 GB, free: 3.145 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 7.72e-07/0.003493, allocations: 0 / 0.8821 GB, free: 3.145 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.67e-05/0.00352, allocations: 23.34 kB / 0.8821 GB, free: 3.117 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001496/0.00367, allocations: 492.1 kB / 0.8826 GB, free: 2.625 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.256e-06/0.003673, allocations: 0 / 0.8826 GB, free: 2.625 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.248e-06/0.003677, allocations: 0.75 kB / 0.8826 GB, free: 2.625 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.742e-05/0.003714, allocations: 123.2 kB / 0.8827 GB, free: 2.504 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.633e-05/0.003751, allocations: 119.2 kB / 0.8828 GB, free: 2.387 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.291e-05/0.003804, allocations: 25.7 kB / 0.8828 GB, free: 2.355 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 4.796e-05/0.003852, allocations: 127.2 kB / 0.8829 GB, free: 2.23 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.233e-05/0.003894, allocations: 127.1 kB / 0.8831 GB, free: 2.105 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.906e-05/0.003973, allocations: 246.3 kB / 0.8833 GB, free: 1.863 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.484e-05/0.004008, allocations: 124.7 kB / 0.8834 GB, free: 1.742 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.548e-05/0.004073, allocations: 250.3 kB / 0.8836 GB, free: 1.496 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.169e-05/0.004145, allocations: 119.2 kB / 0.8838 GB, free: 1.379 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.371e-05/0.004179, allocations: 123.1 kB / 0.8839 GB, free: 1.258 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * 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.0001329/0.004312, allocations: 400.5 kB / 0.8843 GB, free: 0.8555 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.859e-05/0.00437, allocations: 144.9 kB / 0.8844 GB, free: 0.707 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.066e-05/0.004431, allocations: 159.8 kB / 0.8845 GB, free: 0.543 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.176e-05/0.004503, allocations: 268 kB / 0.8848 GB, free: 280 kB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.77e-05/0.00458, allocations: 271 kB / 0.8851 GB, free: 4 kB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.765e-05/0.004668, allocations: 272 kB / 0.8853 GB, free: 15.73 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000214/0.004882, allocations: 476.6 kB / 0.8858 GB, free: 15.23 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.449e-05/0.004926, allocations: 152.8 kB / 0.8859 GB, free: 15.07 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.024e-05/0.004967, allocations: 148.9 kB / 0.8861 GB, free: 14.92 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.48e-05/0.005042, allocations: 264.1 kB / 0.8863 GB, free: 14.66 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.738e-05/0.005119, allocations: 268 kB / 0.8866 GB, free: 14.39 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.362e-05/0.005193, allocations: 273.7 kB / 0.8868 GB, free: 14.11 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.25e-05/0.005265, allocations: 272 kB / 0.8871 GB, free: 13.84 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001403/0.005405, allocations: 440 kB / 0.8875 GB, free: 13.38 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 4.585e-05/0.005451, allocations: 152.8 kB / 0.8877 GB, free: 13.23 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.37e-05/0.005535, allocations: 268.1 kB / 0.8879 GB, free: 12.96 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.992e-05/0.005615, allocations: 149.5 kB / 0.8881 GB, free: 12.8 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.037e-05/0.005695, allocations: 273.7 kB / 0.8883 GB, free: 12.53 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.23e-05/0.005737, allocations: 153.1 kB / 0.8885 GB, free: 12.38 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 4.447e-05/0.005782, allocations: 127.1 kB / 0.8886 GB, free: 12.25 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.005782, allocations: 0 / 0.8886 GB, free: 12.25 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002736/0.006056, allocations: 4.844 kB / 0.8886 GB, free: 12.25 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0001152/0.006171, allocations: 211.1 kB / 0.8888 GB, free: 12.03 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 3.729e-05/0.006208, allocations: 8.203 kB / 0.8888 GB, free: 12.02 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.006211, allocations: 8 kB / 0.8888 GB, free: 12.02 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 1.312e-06/0.006212, allocations: 0 / 0.8888 GB, free: 12.02 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004094/0.006622, allocations: 0.6999 MB / 0.8895 GB, free: 11.31 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001889/0.006811, allocations: 208.8 kB / 0.8897 GB, free: 11.08 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.595e-05/0.006847, allocations: 59.23 kB / 0.8897 GB, free: 11 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 2.004e-06/0.006849, allocations: 0 / 0.8897 GB, free: 11 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.974e-05/0.006878, allocations: 66.2 kB / 0.8898 GB, free: 10.93 MB / 0.8542 GB Notification: Performance of SimCode: time 7.41e-07/0.006879, allocations: 0 / 0.8898 GB, free: 10.93 MB / 0.8542 GB Notification: Performance of Templates: time 0.001578/0.008457, allocations: 176.7 kB / 0.89 GB, free: 10.76 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Constant.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.536263440735638]