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.001319/0.001319, allocations: 86.05 kB / 19.87 MB, free: 4.617 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.001493/0.001493, allocations: 170 kB / 23.27 MB, free: 1.223 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 0.9799/0.9799, allocations: 177.2 MB / 203.7 MB, free: 5.512 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.354/2.354, allocations: 438.1 MB / 0.682 GB, free: 14.14 MB / 0.6511 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 2.074e-06/2.074e-06, allocations: 0 / 0.8898 GB, free: 9.691 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.76e-05/2.968e-05, allocations: 5.406 kB / 0.8898 GB, free: 9.688 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.001313/0.001343, allocations: 0.5634 MB / 0.8903 GB, free: 9.125 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 5.152e-05/0.001395, allocations: 4 kB / 0.8903 GB, free: 9.121 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.913e-05/0.001424, allocations: 0 / 0.8903 GB, free: 9.121 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 2.584e-05/0.00145, allocations: 0 / 0.8903 GB, free: 9.121 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 3.503e-05/0.001485, allocations: 3.938 kB / 0.8903 GB, free: 9.117 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 3.692e-05/0.001521, allocations: 4 kB / 0.8903 GB, free: 9.113 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 4.91e-05/0.001571, allocations: 0 / 0.8903 GB, free: 9.113 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 4.359e-05/0.001614, allocations: 4 kB / 0.8903 GB, free: 9.109 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 2.958e-05/0.001644, allocations: 0 / 0.8903 GB, free: 9.109 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 2.037e-05/0.001664, allocations: 0 / 0.8903 GB, free: 9.109 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.734e-05/0.001681, allocations: 0 / 0.8903 GB, free: 9.109 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 3.797e-06/0.001685, allocations: 0 / 0.8903 GB, free: 9.109 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 1.454e-05/0.0017, allocations: 0 / 0.8903 GB, free: 9.109 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 1.648e-05/0.001716, allocations: 4 kB / 0.8903 GB, free: 9.105 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 5.958e-05/0.001776, allocations: 7.922 kB / 0.8903 GB, free: 9.098 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 2.124e-06/0.001778, allocations: 0 / 0.8903 GB, free: 9.098 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.172e-06/0.001779, allocations: 4 kB / 0.8903 GB, free: 9.094 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.168e-06/0.001783, allocations: 0 / 0.8903 GB, free: 9.094 MB / 0.8542 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.0002419/0.002025, allocations: 348.7 kB / 0.8907 GB, free: 8.715 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.954e-05/0.002065, allocations: 8.625 kB / 0.8907 GB, free: 8.707 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.199e-05/0.002087, allocations: 4.938 kB / 0.8907 GB, free: 8.703 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.304e-05/0.00216, allocations: 108.6 kB / 0.8908 GB, free: 8.57 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.759e-06/0.002169, allocations: 384 / 0.8908 GB, free: 8.57 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.37e-06/0.002175, allocations: 384 / 0.8908 GB, free: 8.57 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.827e-05/0.002233, allocations: 30.27 kB / 0.8908 GB, free: 8.535 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.822e-06/0.00224, allocations: 192 / 0.8908 GB, free: 8.535 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.681e-06/0.002246, allocations: 8.312 kB / 0.8908 GB, free: 8.527 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.002251, allocations: 384 / 0.8908 GB, free: 8.527 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.486e-06/0.00226, allocations: 3.938 kB / 0.8908 GB, free: 8.523 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000221/0.002481, allocations: 454.8 kB / 0.8913 GB, free: 8.051 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 8.452e-05/0.002565, allocations: 269.5 kB / 0.8915 GB, free: 7.773 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.25e-05/0.002598, allocations: 134.8 kB / 0.8917 GB, free: 7.637 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.863e-05/0.002626, allocations: 119.2 kB / 0.8918 GB, free: 7.52 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.703e-05/0.002673, allocations: 156.6 kB / 0.8919 GB, free: 7.355 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=0): time 1.202e-06/0.002675, allocations: 0 / 0.8919 GB, free: 7.355 MB / 0.8542 GB Notification: Performance of matching and sorting (n=0): time 5.019e-05/0.002725, allocations: 29.64 kB / 0.8919 GB, free: 7.32 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.155e-05/0.002776, allocations: 174.6 kB / 0.8921 GB, free: 7.137 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.615e-05/0.002852, allocations: 157.9 kB / 0.8923 GB, free: 6.965 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 6.542e-06/0.002859, allocations: 25.7 kB / 0.8923 GB, free: 6.934 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 3.884e-05/0.002898, allocations: 126.9 kB / 0.8924 GB, free: 6.805 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 5.81e-07/0.002898, allocations: 0 / 0.8924 GB, free: 6.805 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.833e-05/0.002917, allocations: 15.38 kB / 0.8924 GB, free: 6.781 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001266/0.003043, allocations: 0.4923 MB / 0.8929 GB, free: 6.277 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.658e-06/0.003048, allocations: 3.938 kB / 0.8929 GB, free: 6.273 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.569e-06/0.003053, allocations: 0 / 0.8929 GB, free: 6.273 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.87e-05/0.003081, allocations: 119.2 kB / 0.893 GB, free: 6.156 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.59e-05/0.003107, allocations: 119.3 kB / 0.8931 GB, free: 6.039 MB / 0.8542 GB Notification: Performance of matching and sorting (n=0) (initialization): time 3.578e-05/0.003143, allocations: 33.7 kB / 0.8932 GB, free: 6 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 3.968e-05/0.003183, allocations: 123.2 kB / 0.8933 GB, free: 5.879 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.182e-05/0.003214, allocations: 131 kB / 0.8934 GB, free: 5.75 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.837e-05/0.003283, allocations: 246.3 kB / 0.8936 GB, free: 5.508 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.836e-05/0.003311, allocations: 119.2 kB / 0.8938 GB, free: 5.391 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.498e-05/0.003366, allocations: 246.3 kB / 0.894 GB, free: 5.148 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.932e-05/0.003415, allocations: 123.2 kB / 0.8941 GB, free: 5.027 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.681e-05/0.003442, allocations: 123.1 kB / 0.8942 GB, free: 4.906 MB / 0.8542 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.0001075/0.00355, allocations: 395 kB / 0.8946 GB, free: 4.508 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002226/0.003772, allocations: 152.9 kB / 0.8948 GB, free: 4.352 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.383e-05/0.003836, allocations: 147.9 kB / 0.8949 GB, free: 4.199 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.053e-05/0.003907, allocations: 275.9 kB / 0.8952 GB, free: 3.922 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-05/0.003971, allocations: 268.1 kB / 0.8954 GB, free: 3.652 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.049e-05/0.004031, allocations: 268 kB / 0.8957 GB, free: 3.383 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001745/0.004206, allocations: 484.5 kB / 0.8961 GB, free: 2.875 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.654e-05/0.004242, allocations: 144.9 kB / 0.8963 GB, free: 2.727 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.534e-05/0.004278, allocations: 156.8 kB / 0.8964 GB, free: 2.566 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.472e-05/0.004343, allocations: 264.1 kB / 0.8967 GB, free: 2.301 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.619e-05/0.004409, allocations: 276 kB / 0.8969 GB, free: 2.023 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.09e-05/0.00447, allocations: 268.1 kB / 0.8972 GB, free: 1.754 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.624e-05/0.004536, allocations: 272.1 kB / 0.8974 GB, free: 1.48 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001441/0.00468, allocations: 448.3 kB / 0.8979 GB, free: 1.016 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 4.429e-05/0.004724, allocations: 156.8 kB / 0.898 GB, free: 0.8555 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.121e-05/0.004785, allocations: 268.1 kB / 0.8983 GB, free: 0.5859 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.203e-05/0.004837, allocations: 148.9 kB / 0.8984 GB, free: 444 kB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.505e-05/0.004903, allocations: 268 kB / 0.8987 GB, free: 168 kB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.336e-05/0.004936, allocations: 152.8 kB / 0.8988 GB, free: 8 kB / 0.8542 GB Notification: Performance of sorting global known variables: time 5.261e-05/0.004988, allocations: 119.2 kB / 0.8989 GB, free: 15.89 MB / 0.8698 GB Notification: Performance of sort global known variables: time 5e-08/0.004989, allocations: 0 / 0.8989 GB, free: 15.89 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0001488/0.005137, allocations: 0 / 0.8989 GB, free: 15.89 MB / 0.8698 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.000122/0.005259, allocations: 218.5 kB / 0.8991 GB, free: 15.66 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 4.208e-05/0.005301, allocations: 7.938 kB / 0.8992 GB, free: 15.66 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.005303, allocations: 0 / 0.8992 GB, free: 15.66 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 8.82e-07/0.005304, allocations: 0 / 0.8992 GB, free: 15.66 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003003/0.005604, allocations: 0.7062 MB / 0.8998 GB, free: 14.95 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001908/0.005795, allocations: 200.7 kB / 0.9 GB, free: 14.72 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.186e-05/0.005827, allocations: 55.3 kB / 0.9001 GB, free: 14.64 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 2.755e-06/0.00583, allocations: 7.938 kB / 0.9001 GB, free: 14.64 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.035e-05/0.00586, allocations: 66.2 kB / 0.9002 GB, free: 14.57 MB / 0.8698 GB Notification: Performance of SimCode: time 1.022e-06/0.005861, allocations: 4 kB / 0.9002 GB, free: 14.57 MB / 0.8698 GB Notification: Performance of Templates: time 0.001434/0.007295, allocations: 164.7 kB / 0.9003 GB, free: 14.41 MB / 0.8698 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.2165231690742075]