Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.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.0009918/0.0009918, 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.001062/0.001062, allocations: 169.4 kB / 24.06 MB, free: 456 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.9991/0.9991, allocations: 177.1 MB / 204.5 MB, free: 5.5 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.085/2.085, allocations: 429.5 MB / 0.6743 GB, free: 3.902 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.Logical.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant") translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.192e-06/1.192e-06, allocations: 0 / 0.8794 GB, free: 6 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.455e-05/1.574e-05, allocations: 2.312 kB / 0.8794 GB, free: 5.996 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.001061/0.001076, allocations: 0.5738 MB / 0.88 GB, free: 5.445 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 2.999e-05/0.001106, allocations: 4.188 kB / 0.88 GB, free: 5.441 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.864e-05/0.001125, allocations: 0 / 0.88 GB, free: 5.441 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 1.644e-05/0.001142, allocations: 1.094 kB / 0.88 GB, free: 5.441 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 2.06e-05/0.001162, allocations: 4.812 kB / 0.88 GB, free: 5.438 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 2.16e-05/0.001184, allocations: 0 / 0.88 GB, free: 5.438 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 3.776e-05/0.001222, allocations: 4.875 kB / 0.88 GB, free: 5.434 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 2.901e-05/0.001251, allocations: 1 kB / 0.88 GB, free: 5.434 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 1.824e-05/0.001269, allocations: 3.938 kB / 0.88 GB, free: 5.43 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 1.586e-05/0.001285, allocations: 0 / 0.88 GB, free: 5.43 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.281e-05/0.001297, allocations: 0.7188 kB / 0.88 GB, free: 5.43 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 3.136e-06/0.001301, allocations: 4 kB / 0.88 GB, free: 5.426 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.204e-05/0.001313, allocations: 4.672 kB / 0.88 GB, free: 5.422 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 1.037e-05/0.001323, allocations: 0 / 0.88 GB, free: 5.422 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 3.995e-05/0.001363, allocations: 7.438 kB / 0.88 GB, free: 5.418 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.553e-06/0.001364, allocations: 0 / 0.88 GB, free: 5.418 MB / 0.8386 GB Notification: Performance of FrontEnd: time 4.21e-07/0.001365, allocations: 0 / 0.88 GB, free: 5.418 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 2.956e-06/0.001368, allocations: 0 / 0.88 GB, free: 5.418 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.0002023/0.00157, allocations: 340.4 kB / 0.8803 GB, free: 5.047 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 2.668e-05/0.001597, allocations: 12.03 kB / 0.8803 GB, free: 5.035 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.633e-05/0.001613, allocations: 1.281 kB / 0.8803 GB, free: 5.035 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.549e-05/0.001679, allocations: 108.6 kB / 0.8804 GB, free: 4.902 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.536e-06/0.001687, allocations: 384 / 0.8804 GB, free: 4.902 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.629e-06/0.001692, allocations: 4.969 kB / 0.8804 GB, free: 4.898 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.869e-05/0.001741, allocations: 27.33 kB / 0.8805 GB, free: 4.867 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.432e-06/0.001747, allocations: 192 / 0.8805 GB, free: 4.867 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.22e-06/0.001752, allocations: 8.297 kB / 0.8805 GB, free: 4.859 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.389e-06/0.001757, allocations: 0.9688 kB / 0.8805 GB, free: 4.859 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.195e-06/0.001765, allocations: 9.469 kB / 0.8805 GB, free: 4.852 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001788/0.001944, allocations: 454.9 kB / 0.8809 GB, free: 4.379 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 7.966e-05/0.002023, allocations: 261.4 kB / 0.8812 GB, free: 4.109 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.223e-05/0.002055, allocations: 130.8 kB / 0.8813 GB, free: 3.977 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.41e-05/0.00208, allocations: 123.2 kB / 0.8814 GB, free: 3.855 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.257e-05/0.002122, allocations: 164.5 kB / 0.8816 GB, free: 3.684 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 6.12e-07/0.002123, allocations: 0 / 0.8816 GB, free: 3.684 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 4.096e-05/0.002164, allocations: 33.62 kB / 0.8816 GB, free: 3.645 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.042e-05/0.002214, allocations: 170.6 kB / 0.8818 GB, free: 3.465 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.899e-05/0.002273, allocations: 157.9 kB / 0.8819 GB, free: 3.293 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 8.216e-06/0.002281, allocations: 25.7 kB / 0.8819 GB, free: 3.262 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 3.457e-05/0.002316, allocations: 126.9 kB / 0.8821 GB, free: 3.133 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 6.61e-07/0.002317, allocations: 0 / 0.8821 GB, free: 3.133 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.709e-05/0.002334, allocations: 19.38 kB / 0.8821 GB, free: 3.105 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001007/0.002434, allocations: 496.2 kB / 0.8826 GB, free: 2.609 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.845e-06/0.002437, allocations: 3.938 kB / 0.8826 GB, free: 2.605 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.045e-06/0.00244, allocations: 0.75 kB / 0.8826 GB, free: 2.605 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.666e-05/0.002467, allocations: 119.2 kB / 0.8827 GB, free: 2.488 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.471e-05/0.002492, allocations: 119.2 kB / 0.8828 GB, free: 2.371 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0) (initialization): time 3.502e-05/0.002527, allocations: 33.69 kB / 0.8828 GB, free: 2.332 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 3.156e-05/0.002558, allocations: 125.5 kB / 0.8829 GB, free: 2.211 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.758e-05/0.002586, allocations: 127.1 kB / 0.8831 GB, free: 2.086 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.515e-05/0.002641, allocations: 242.3 kB / 0.8833 GB, free: 1.848 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.435e-05/0.002675, allocations: 119.3 kB / 0.8834 GB, free: 1.73 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.204e-05/0.002727, allocations: 246.3 kB / 0.8836 GB, free: 1.488 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.791e-05/0.002775, allocations: 127.2 kB / 0.8838 GB, free: 1.363 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.649e-05/0.002802, allocations: 127.1 kB / 0.8839 GB, free: 1.238 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.0001107/0.002912, allocations: 398.9 kB / 0.8843 GB, free: 0.8359 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.812e-05/0.002961, allocations: 152.9 kB / 0.8844 GB, free: 0.6797 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.4e-05/0.003005, allocations: 147.9 kB / 0.8846 GB, free: 0.5273 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.286e-05/0.003057, allocations: 272 kB / 0.8848 GB, free: 260 kB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.258e-05/0.00312, allocations: 268.1 kB / 0.8851 GB, free: 15.98 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.534e-05/0.003175, allocations: 272 kB / 0.8853 GB, free: 15.71 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001477/0.003323, allocations: 484.6 kB / 0.8858 GB, free: 15.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.091e-05/0.003354, allocations: 144.9 kB / 0.8859 GB, free: 15.05 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.528e-05/0.003389, allocations: 152.8 kB / 0.8861 GB, free: 14.9 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.665e-05/0.003446, allocations: 268.1 kB / 0.8863 GB, free: 14.63 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.788e-05/0.003504, allocations: 276 kB / 0.8866 GB, free: 14.35 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.335e-05/0.003557, allocations: 264.1 kB / 0.8868 GB, free: 14.09 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.859e-05/0.003616, allocations: 268.1 kB / 0.8871 GB, free: 13.82 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001267/0.003742, allocations: 451.9 kB / 0.8875 GB, free: 13.35 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.935e-05/0.003782, allocations: 152.8 kB / 0.8877 GB, free: 13.19 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.882e-05/0.003841, allocations: 268.1 kB / 0.8879 GB, free: 12.92 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.123e-05/0.003892, allocations: 144.9 kB / 0.8881 GB, free: 12.77 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.941e-05/0.003951, allocations: 268 kB / 0.8883 GB, free: 12.5 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.492e-05/0.003986, allocations: 161.1 kB / 0.8885 GB, free: 12.34 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 3.58e-05/0.004022, allocations: 123.2 kB / 0.8886 GB, free: 12.22 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7.1e-08/0.004022, allocations: 0 / 0.8886 GB, free: 12.22 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.000147/0.004169, allocations: 0 / 0.8886 GB, free: 12.22 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 8.396e-05/0.004253, allocations: 214.4 kB / 0.8888 GB, free: 12 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 2.663e-05/0.004279, allocations: 3.938 kB / 0.8888 GB, free: 12 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 9.31e-07/0.00428, allocations: 0 / 0.8888 GB, free: 12 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 1.934e-06/0.004282, allocations: 4 kB / 0.8888 GB, free: 11.99 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002861/0.004569, allocations: 0.7063 MB / 0.8895 GB, free: 11.28 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001438/0.004712, allocations: 200.8 kB / 0.8897 GB, free: 11.05 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.934e-05/0.004742, allocations: 63.28 kB / 0.8898 GB, free: 10.97 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 1.433e-06/0.004743, allocations: 0 / 0.8898 GB, free: 10.97 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.404e-05/0.004767, allocations: 66.2 kB / 0.8898 GB, free: 10.91 MB / 0.8542 GB Notification: Performance of SimCode: time 9.32e-07/0.004768, allocations: 0 / 0.8898 GB, free: 10.91 MB / 0.8542 GB Notification: Performance of Templates: time 0.001161/0.005929, allocations: 176.8 kB / 0.89 GB, free: 10.73 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_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.3015673300251365]