Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0009985/0.0009985, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.00166/0.00166, allocations: 173 kB / 24.28 MB, free: 276 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.9965/0.9965, allocations: 177.1 MB / 204.6 MB, free: 5.637 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.874/1.874, allocations: 359 MB / 0.6055 GB, free: 11.03 MB / 0.573 GB " [Timeout remaining time 177] 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.Integers.Sources.Validation.Constant,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.y",fileNamePrefix="Buildings_11_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_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 4.619e-06/4.619e-06, allocations: 0 / 0.7871 GB, free: 12.82 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.231e-05/3.693e-05, allocations: 2.312 kB / 0.7871 GB, free: 12.81 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant): time 0.0014/0.001437, allocations: 0.5619 MB / 0.7877 GB, free: 12.27 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 4.703e-05/0.001484, allocations: 0.75 kB / 0.7877 GB, free: 12.27 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.05e-05/0.001515, allocations: 0 / 0.7877 GB, free: 12.27 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.048e-05/0.001545, allocations: 5.016 kB / 0.7877 GB, free: 12.27 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 3.104e-05/0.001576, allocations: 0 / 0.7877 GB, free: 12.27 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 3.689e-05/0.001613, allocations: 0 / 0.7877 GB, free: 12.27 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 6.506e-05/0.001678, allocations: 0.6875 kB / 0.7877 GB, free: 12.27 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 5.808e-05/0.001736, allocations: 12.89 kB / 0.7877 GB, free: 12.25 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 3.482e-05/0.001771, allocations: 0 / 0.7877 GB, free: 12.25 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 2.437e-05/0.001796, allocations: 0 / 0.7877 GB, free: 12.25 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.3e-05/0.001819, allocations: 1.062 kB / 0.7877 GB, free: 12.25 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 4.409e-06/0.001823, allocations: 3.938 kB / 0.7877 GB, free: 12.25 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.749e-05/0.001841, allocations: 0 / 0.7877 GB, free: 12.25 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.303e-05/0.001864, allocations: 4.781 kB / 0.7877 GB, free: 12.25 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 8.982e-05/0.001953, allocations: 3.938 kB / 0.7877 GB, free: 12.24 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.074e-06/0.001955, allocations: 1.094 kB / 0.7877 GB, free: 12.24 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.673e-06/0.001957, allocations: 0 / 0.7877 GB, free: 12.24 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.531e-06/0.001963, allocations: 0 / 0.7877 GB, free: 12.24 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.0002989/0.002262, allocations: 345 kB / 0.788 GB, free: 11.87 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.297e-05/0.002305, allocations: 8.031 kB / 0.788 GB, free: 11.86 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.45e-05/0.002339, allocations: 6.156 kB / 0.788 GB, free: 11.86 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.525e-05/0.002424, allocations: 104.6 kB / 0.7881 GB, free: 11.73 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.538e-06/0.002434, allocations: 1.906 kB / 0.7881 GB, free: 11.73 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.488e-06/0.002443, allocations: 384 / 0.7881 GB, free: 11.73 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.677e-05/0.00251, allocations: 30.27 kB / 0.7882 GB, free: 11.69 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.758e-06/0.00252, allocations: 4.188 kB / 0.7882 GB, free: 11.69 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.225e-06/0.002528, allocations: 1.875 kB / 0.7882 GB, free: 11.69 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.002534, allocations: 384 / 0.7882 GB, free: 11.69 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.426e-05/0.002549, allocations: 11.86 kB / 0.7882 GB, free: 11.68 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002778/0.002827, allocations: 470.2 kB / 0.7886 GB, free: 11.18 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002487/0.003075, allocations: 268.6 kB / 0.7889 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.645e-05/0.003112, allocations: 126.9 kB / 0.789 GB, free: 10.78 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.494e-05/0.003137, allocations: 119.2 kB / 0.7891 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.234e-05/0.003179, allocations: 160.5 kB / 0.7893 GB, free: 10.49 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=0): time 9.11e-07/0.00318, allocations: 0 / 0.7893 GB, free: 10.49 MB / 0.7448 GB Notification: Performance of matching and sorting (n=0): time 6.665e-05/0.003247, allocations: 37.62 kB / 0.7893 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.748e-05/0.003304, allocations: 170.6 kB / 0.7895 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.931e-05/0.003393, allocations: 154.5 kB / 0.7896 GB, free: 10.1 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 8.756e-06/0.003402, allocations: 25.7 kB / 0.7896 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.459e-05/0.003447, allocations: 127.6 kB / 0.7898 GB, free: 9.941 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.044e-06/0.003449, allocations: 0 / 0.7898 GB, free: 9.941 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.846e-05/0.003467, allocations: 15.88 kB / 0.7898 GB, free: 9.918 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001154/0.003583, allocations: 497.7 kB / 0.7903 GB, free: 9.422 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.23e-06/0.003588, allocations: 0 / 0.7903 GB, free: 9.422 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.849e-06/0.003593, allocations: 0 / 0.7903 GB, free: 9.422 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.829e-05/0.003621, allocations: 119.2 kB / 0.7904 GB, free: 9.305 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.833e-05/0.003649, allocations: 123.8 kB / 0.7905 GB, free: 9.184 MB / 0.7448 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.397e-05/0.003693, allocations: 38.64 kB / 0.7905 GB, free: 9.141 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 4.008e-05/0.003733, allocations: 128 kB / 0.7906 GB, free: 9.016 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.02e-05/0.003763, allocations: 123.1 kB / 0.7908 GB, free: 8.895 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.904e-05/0.003833, allocations: 246.8 kB / 0.791 GB, free: 8.652 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.88e-05/0.003861, allocations: 119.3 kB / 0.7911 GB, free: 8.535 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.49e-05/0.003916, allocations: 247 kB / 0.7913 GB, free: 8.293 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.898e-05/0.003965, allocations: 123.8 kB / 0.7915 GB, free: 8.172 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.683e-05/0.003992, allocations: 119.2 kB / 0.7916 GB, free: 8.055 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 0.0001143/0.004106, allocations: 400.3 kB / 0.792 GB, free: 7.652 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.132e-05/0.004158, allocations: 152.8 kB / 0.7921 GB, free: 7.496 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.754e-05/0.004215, allocations: 151.8 kB / 0.7922 GB, free: 7.34 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.589e-05/0.004281, allocations: 269.7 kB / 0.7925 GB, free: 7.07 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.434e-05/0.004345, allocations: 268.1 kB / 0.7928 GB, free: 6.801 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.43e-05/0.00441, allocations: 268.1 kB / 0.793 GB, free: 6.531 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001715/0.004581, allocations: 0.4921 MB / 0.7935 GB, free: 5.996 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.562e-05/0.004617, allocations: 146.9 kB / 0.7936 GB, free: 5.848 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.665e-05/0.004654, allocations: 148.8 kB / 0.7938 GB, free: 5.695 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.146e-05/0.004715, allocations: 272.1 kB / 0.794 GB, free: 5.422 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.41e-05/0.004779, allocations: 264.1 kB / 0.7943 GB, free: 5.156 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.196e-05/0.004841, allocations: 276 kB / 0.7946 GB, free: 4.879 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.858e-05/0.0049, allocations: 268.1 kB / 0.7948 GB, free: 4.609 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001447/0.005044, allocations: 448.5 kB / 0.7952 GB, free: 4.145 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.156e-05/0.005086, allocations: 151.3 kB / 0.7954 GB, free: 3.992 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.26e-05/0.005158, allocations: 272.1 kB / 0.7956 GB, free: 3.719 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.467e-05/0.005213, allocations: 152.8 kB / 0.7958 GB, free: 3.562 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002298/0.005443, allocations: 272 kB / 0.796 GB, free: 3.289 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.578e-05/0.005479, allocations: 149.2 kB / 0.7962 GB, free: 3.137 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.211e-05/0.005531, allocations: 119.2 kB / 0.7963 GB, free: 3.02 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.005531, allocations: 1.812 kB / 0.7963 GB, free: 3.02 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001564/0.005687, allocations: 0 / 0.7963 GB, free: 3.02 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.0001424/0.00583, allocations: 214.4 kB / 0.7965 GB, free: 2.801 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 4.724e-05/0.005877, allocations: 4.469 kB / 0.7965 GB, free: 2.797 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.005879, allocations: 0 / 0.7965 GB, free: 2.797 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 9.82e-07/0.00588, allocations: 4.562 kB / 0.7965 GB, free: 2.793 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000329/0.006209, allocations: 0.7057 MB / 0.7972 GB, free: 2.086 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002369/0.006446, allocations: 216.5 kB / 0.7974 GB, free: 1.844 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.188e-05/0.006478, allocations: 51.36 kB / 0.7975 GB, free: 1.773 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.854e-06/0.00648, allocations: 3.938 kB / 0.7975 GB, free: 1.77 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.139e-05/0.006491, allocations: 10.69 kB / 0.7975 GB, free: 1.762 MB / 0.7448 GB Notification: Performance of SimCode: time 5.71e-07/0.006492, allocations: 0 / 0.7975 GB, free: 1.762 MB / 0.7448 GB Notification: Performance of Templates: time 0.001435/0.007927, allocations: 170 kB / 0.7976 GB, free: 1.598 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/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.267236874904484]