Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.000975/0.000975, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.0009261/0.0009261, allocations: 161 kB / 23.82 MB, free: 0.75 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.051/1.051, allocations: 177.2 MB / 204.2 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.727/1.727, allocations: 359 MB / 0.6052 GB, free: 11 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/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_11_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_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.364e-06/2.364e-06, allocations: 0 / 0.7871 GB, free: 12.47 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.592e-05/2.828e-05, allocations: 4.281 kB / 0.7871 GB, free: 12.47 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant): time 0.006445/0.006473, allocations: 0.5708 MB / 0.7877 GB, free: 11.91 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 4.336e-05/0.006517, allocations: 192 / 0.7877 GB, free: 11.91 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.375e-05/0.006541, allocations: 0 / 0.7877 GB, free: 11.91 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.765e-05/0.006568, allocations: 0 / 0.7877 GB, free: 11.91 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 2.721e-05/0.006595, allocations: 1.219 kB / 0.7877 GB, free: 11.91 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 3.132e-05/0.006627, allocations: 0 / 0.7877 GB, free: 11.91 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 5.472e-05/0.006681, allocations: 4 kB / 0.7877 GB, free: 11.91 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 4.395e-05/0.006725, allocations: 7.984 kB / 0.7877 GB, free: 11.9 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 2.745e-05/0.006753, allocations: 0.625 kB / 0.7877 GB, free: 11.9 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 1.928e-05/0.006772, allocations: 1.406 kB / 0.7877 GB, free: 11.9 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.708e-05/0.006789, allocations: 3.938 kB / 0.7877 GB, free: 11.9 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 3.757e-06/0.006793, allocations: 0 / 0.7877 GB, free: 11.9 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.18e-05/0.006805, allocations: 0 / 0.7877 GB, free: 11.9 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.764e-05/0.006822, allocations: 4.844 kB / 0.7877 GB, free: 11.89 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 5.519e-05/0.006878, allocations: 0 / 0.7877 GB, free: 11.89 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.364e-06/0.00688, allocations: 0 / 0.7877 GB, free: 11.89 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.092e-06/0.006881, allocations: 4.5 kB / 0.7877 GB, free: 11.89 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.998e-06/0.006885, allocations: 0.6875 kB / 0.7877 GB, free: 11.89 MB / 0.7448 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.0002666/0.007152, allocations: 344.4 kB / 0.788 GB, free: 11.52 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.287e-05/0.007195, allocations: 8.938 kB / 0.788 GB, free: 11.51 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.099e-05/0.007226, allocations: 4.938 kB / 0.788 GB, free: 11.5 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.069e-05/0.007306, allocations: 105.3 kB / 0.7881 GB, free: 11.38 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.668e-06/0.007316, allocations: 384 / 0.7882 GB, free: 11.38 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.592e-06/0.007323, allocations: 2.031 kB / 0.7882 GB, free: 11.38 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.307e-05/0.007386, allocations: 30.27 kB / 0.7882 GB, free: 11.34 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.463e-06/0.007392, allocations: 192 / 0.7882 GB, free: 11.34 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.925e-06/0.0074, allocations: 384 / 0.7882 GB, free: 11.34 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.093e-06/0.007407, allocations: 1.969 kB / 0.7882 GB, free: 11.34 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.109e-05/0.007418, allocations: 7.875 kB / 0.7882 GB, free: 11.33 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002494/0.007668, allocations: 474.2 kB / 0.7886 GB, free: 10.83 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 8.749e-05/0.007755, allocations: 265.5 kB / 0.7889 GB, free: 10.56 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.686e-05/0.007792, allocations: 127.4 kB / 0.789 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.663e-05/0.007819, allocations: 122.6 kB / 0.7891 GB, free: 10.31 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.11e-05/0.00787, allocations: 164.5 kB / 0.7893 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=0): time 1.062e-06/0.007871, allocations: 0 / 0.7893 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of matching and sorting (n=0): time 5.524e-05/0.007926, allocations: 29.64 kB / 0.7893 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.598e-05/0.007982, allocations: 170.6 kB / 0.7895 GB, free: 9.926 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.681e-05/0.008059, allocations: 157.9 kB / 0.7896 GB, free: 9.754 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 8.365e-06/0.008067, allocations: 25.7 kB / 0.7897 GB, free: 9.723 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.48e-05/0.008112, allocations: 126.9 kB / 0.7898 GB, free: 9.594 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.563e-06/0.008113, allocations: 0.7188 kB / 0.7898 GB, free: 9.594 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.184e-05/0.008135, allocations: 15.38 kB / 0.7898 GB, free: 9.57 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001191/0.008254, allocations: 496.7 kB / 0.7903 GB, free: 9.074 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.949e-06/0.008259, allocations: 0 / 0.7903 GB, free: 9.074 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.396e-06/0.008263, allocations: 1.375 kB / 0.7903 GB, free: 9.074 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.129e-05/0.008294, allocations: 123.2 kB / 0.7904 GB, free: 8.953 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.672e-05/0.008321, allocations: 123.1 kB / 0.7905 GB, free: 8.832 MB / 0.7448 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.074e-05/0.008372, allocations: 31.88 kB / 0.7905 GB, free: 8.797 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 3.803e-05/0.00841, allocations: 123.2 kB / 0.7907 GB, free: 8.676 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.3e-05/0.008443, allocations: 127.1 kB / 0.7908 GB, free: 8.551 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.468e-05/0.008507, allocations: 246.3 kB / 0.791 GB, free: 8.309 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.067e-05/0.008538, allocations: 120 kB / 0.7911 GB, free: 8.191 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.763e-05/0.008596, allocations: 255 kB / 0.7914 GB, free: 7.941 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.546e-05/0.008661, allocations: 123.2 kB / 0.7915 GB, free: 7.82 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.546e-05/0.008686, allocations: 124.4 kB / 0.7916 GB, free: 7.699 MB / 0.7448 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 9.688e-05/0.008783, allocations: 391 kB / 0.792 GB, free: 7.305 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.125e-05/0.008835, allocations: 156.8 kB / 0.7921 GB, free: 7.145 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.695e-05/0.008882, allocations: 152.6 kB / 0.7923 GB, free: 6.988 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.161e-05/0.008943, allocations: 268 kB / 0.7925 GB, free: 6.719 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.439e-05/0.009008, allocations: 269.4 kB / 0.7928 GB, free: 6.449 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003082/0.01209, allocations: 268.1 kB / 0.793 GB, free: 6.18 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001931/0.01228, allocations: 0.4921 MB / 0.7935 GB, free: 5.645 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.794e-05/0.01232, allocations: 145.5 kB / 0.7937 GB, free: 5.496 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.635e-05/0.01236, allocations: 148.8 kB / 0.7938 GB, free: 5.344 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.47e-05/0.01242, allocations: 268.6 kB / 0.7941 GB, free: 5.074 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.671e-05/0.01249, allocations: 273.2 kB / 0.7943 GB, free: 4.801 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.593e-05/0.01256, allocations: 272 kB / 0.7946 GB, free: 4.527 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.332e-05/0.01263, allocations: 268.1 kB / 0.7948 GB, free: 4.258 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001394/0.01277, allocations: 444.7 kB / 0.7953 GB, free: 3.797 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.356e-05/0.01281, allocations: 156.8 kB / 0.7954 GB, free: 3.637 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.334e-05/0.01288, allocations: 269.3 kB / 0.7957 GB, free: 3.367 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.848e-05/0.01295, allocations: 148.8 kB / 0.7958 GB, free: 3.215 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.663e-05/0.01303, allocations: 268 kB / 0.7961 GB, free: 2.945 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.694e-05/0.01307, allocations: 149.2 kB / 0.7962 GB, free: 2.793 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.265e-05/0.01311, allocations: 120.5 kB / 0.7963 GB, free: 2.676 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.01311, allocations: 0 / 0.7963 GB, free: 2.676 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002338/0.01334, allocations: 3.984 kB / 0.7963 GB, free: 2.672 MB / 0.7448 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.0001238/0.01347, allocations: 215.5 kB / 0.7965 GB, free: 2.453 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 4.62e-05/0.01351, allocations: 8.812 kB / 0.7965 GB, free: 2.445 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.01351, allocations: 0 / 0.7965 GB, free: 2.445 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.124e-06/0.01352, allocations: 4.812 kB / 0.7965 GB, free: 2.441 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000359/0.01388, allocations: 0.6984 MB / 0.7972 GB, free: 1.738 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002283/0.0141, allocations: 214.9 kB / 0.7974 GB, free: 1.5 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.338e-05/0.01414, allocations: 55.34 kB / 0.7975 GB, free: 1.426 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.964e-06/0.01414, allocations: 0.9375 kB / 0.7975 GB, free: 1.426 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.167e-05/0.01415, allocations: 8.5 kB / 0.7975 GB, free: 1.418 MB / 0.7448 GB Notification: Performance of SimCode: time 7.41e-07/0.01415, allocations: 1.219 kB / 0.7975 GB, free: 1.418 MB / 0.7448 GB Notification: Performance of Templates: time 0.004615/0.01877, allocations: 176.1 kB / 0.7977 GB, free: 1.25 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Constant_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/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: 4.988552607130259]