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.001123/0.001123, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.001325/0.001325, allocations: 173 kB / 23.49 MB, free: 1.055 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.076/1.076, allocations: 177.1 MB / 203.8 MB, free: 5.602 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.319/2.319, allocations: 429.5 MB / 0.6736 GB, free: 4.012 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.934e-06/1.934e-06, allocations: 0 / 0.8782 GB, free: 6.602 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.021e-05/2.214e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.598 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant): time 0.001088/0.001111, allocations: 0.5677 MB / 0.8788 GB, free: 6.047 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 4.529e-05/0.001156, allocations: 4.953 kB / 0.8788 GB, free: 6.043 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.506e-05/0.001181, allocations: 0 / 0.8788 GB, free: 6.043 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.303e-05/0.001204, allocations: 0.8438 kB / 0.8788 GB, free: 6.043 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 2.867e-05/0.001233, allocations: 3.938 kB / 0.8788 GB, free: 6.039 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 3.048e-05/0.001263, allocations: 0.75 kB / 0.8788 GB, free: 6.039 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 5.42e-05/0.001317, allocations: 0.875 kB / 0.8788 GB, free: 6.039 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 4.123e-05/0.001359, allocations: 4.75 kB / 0.8788 GB, free: 6.035 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 2.755e-05/0.001386, allocations: 4.75 kB / 0.8788 GB, free: 6.031 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 1.849e-05/0.001405, allocations: 0.5625 kB / 0.8788 GB, free: 6.031 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.64e-05/0.001421, allocations: 1.188 kB / 0.8788 GB, free: 6.031 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 3.566e-06/0.001425, allocations: 0 / 0.8788 GB, free: 6.031 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.299e-05/0.001438, allocations: 0.6562 kB / 0.8788 GB, free: 6.031 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 1.859e-05/0.001456, allocations: 4 kB / 0.8788 GB, free: 6.027 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 5.773e-05/0.001514, allocations: 5.75 kB / 0.8788 GB, free: 6.023 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.144e-06/0.001516, allocations: 0 / 0.8788 GB, free: 6.023 MB / 0.8386 GB Notification: Performance of FrontEnd: time 3.41e-07/0.001516, allocations: 0 / 0.8788 GB, free: 6.023 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.276e-06/0.00152, allocations: 0.6562 kB / 0.8788 GB, free: 6.023 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.0002622/0.001782, allocations: 338.4 kB / 0.8791 GB, free: 5.656 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.217e-05/0.001824, allocations: 8.031 kB / 0.8791 GB, free: 5.648 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.661e-05/0.001861, allocations: 13.08 kB / 0.8791 GB, free: 5.641 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.502e-05/0.001946, allocations: 108.6 kB / 0.8792 GB, free: 5.508 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.096e-05/0.001957, allocations: 384 / 0.8792 GB, free: 5.508 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.939e-06/0.001967, allocations: 4.375 kB / 0.8792 GB, free: 5.504 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.472e-05/0.002041, allocations: 34.2 kB / 0.8793 GB, free: 5.465 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.941e-06/0.002047, allocations: 192 / 0.8793 GB, free: 5.465 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.238e-06/0.002056, allocations: 384 / 0.8793 GB, free: 5.465 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.602e-06/0.002063, allocations: 384 / 0.8793 GB, free: 5.465 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.155e-05/0.002075, allocations: 3.938 kB / 0.8793 GB, free: 5.461 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002647/0.002339, allocations: 479 kB / 0.8797 GB, free: 4.957 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 8.821e-05/0.002427, allocations: 270.8 kB / 0.88 GB, free: 4.68 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.488e-05/0.002462, allocations: 126.9 kB / 0.8801 GB, free: 4.551 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.686e-05/0.002489, allocations: 119.2 kB / 0.8802 GB, free: 4.434 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.073e-05/0.00254, allocations: 157.6 kB / 0.8804 GB, free: 4.27 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 5.961e-06/0.002546, allocations: 0 / 0.8804 GB, free: 4.27 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 6.095e-05/0.002607, allocations: 30.64 kB / 0.8804 GB, free: 4.234 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.334e-05/0.00266, allocations: 172.3 kB / 0.8806 GB, free: 4.055 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.591e-05/0.002746, allocations: 157.9 kB / 0.8807 GB, free: 3.883 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 8.706e-06/0.002755, allocations: 30.78 kB / 0.8807 GB, free: 3.848 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 3.608e-05/0.002791, allocations: 127.5 kB / 0.8809 GB, free: 3.719 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.934e-06/0.002793, allocations: 0 / 0.8809 GB, free: 3.719 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.842e-05/0.002811, allocations: 20.38 kB / 0.8809 GB, free: 3.691 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.000104/0.002915, allocations: 496.1 kB / 0.8814 GB, free: 3.195 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.378e-06/0.00292, allocations: 0 / 0.8814 GB, free: 3.195 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.466e-06/0.002923, allocations: 0.875 kB / 0.8814 GB, free: 3.195 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.83e-05/0.002951, allocations: 120.1 kB / 0.8815 GB, free: 3.078 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.554e-05/0.002977, allocations: 121.9 kB / 0.8816 GB, free: 2.961 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0) (initialization): time 3.198e-05/0.003009, allocations: 29.7 kB / 0.8816 GB, free: 2.926 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 3.594e-05/0.003045, allocations: 123.2 kB / 0.8817 GB, free: 2.805 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.858e-05/0.003073, allocations: 127.1 kB / 0.8819 GB, free: 2.68 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.076e-05/0.003134, allocations: 254.4 kB / 0.8821 GB, free: 2.43 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.621e-05/0.00316, allocations: 119.3 kB / 0.8822 GB, free: 2.312 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002145/0.003375, allocations: 246.3 kB / 0.8825 GB, free: 2.07 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.967e-05/0.003425, allocations: 124.1 kB / 0.8826 GB, free: 1.949 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.537e-05/0.00345, allocations: 124.9 kB / 0.8827 GB, free: 1.828 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.0001111/0.003561, allocations: 391 kB / 0.8831 GB, free: 1.434 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.476e-05/0.003606, allocations: 152.9 kB / 0.8832 GB, free: 1.277 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.224e-05/0.003658, allocations: 155.8 kB / 0.8834 GB, free: 1.117 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.901e-05/0.003717, allocations: 268.7 kB / 0.8836 GB, free: 0.8477 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.916e-05/0.003776, allocations: 269.7 kB / 0.8839 GB, free: 0.5781 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.253e-05/0.003839, allocations: 268 kB / 0.8841 GB, free: 316 kB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001637/0.004002, allocations: 0.4929 MB / 0.8846 GB, free: 15.77 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.11e-05/0.004033, allocations: 148.8 kB / 0.8847 GB, free: 15.62 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.284e-05/0.004066, allocations: 144.9 kB / 0.8849 GB, free: 15.47 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.615e-05/0.004122, allocations: 268.6 kB / 0.8851 GB, free: 15.2 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.944e-05/0.004182, allocations: 273.8 kB / 0.8854 GB, free: 14.93 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.724e-05/0.004239, allocations: 272 kB / 0.8857 GB, free: 14.66 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.472e-05/0.004294, allocations: 272 kB / 0.8859 GB, free: 14.38 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001132/0.004407, allocations: 444 kB / 0.8863 GB, free: 13.92 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.639e-05/0.004443, allocations: 152.8 kB / 0.8865 GB, free: 13.77 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.22e-05/0.004506, allocations: 268.8 kB / 0.8867 GB, free: 13.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.194e-05/0.004558, allocations: 152.8 kB / 0.8869 GB, free: 13.34 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.052e-05/0.004618, allocations: 268.9 kB / 0.8871 GB, free: 13.07 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.044e-05/0.004649, allocations: 149.2 kB / 0.8873 GB, free: 12.92 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 3.516e-05/0.004684, allocations: 120.8 kB / 0.8874 GB, free: 12.8 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.004684, allocations: 0 / 0.8874 GB, free: 12.8 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001516/0.004835, allocations: 3.938 kB / 0.8874 GB, free: 12.8 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.000101/0.004936, allocations: 222.6 kB / 0.8876 GB, free: 12.57 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 4.244e-05/0.004979, allocations: 0 / 0.8876 GB, free: 12.57 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.00498, allocations: 0 / 0.8876 GB, free: 12.57 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 9.22e-07/0.004981, allocations: 0 / 0.8876 GB, free: 12.57 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003051/0.005286, allocations: 0.7023 MB / 0.8883 GB, free: 11.86 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002359/0.005522, allocations: 212.7 kB / 0.8885 GB, free: 11.62 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.773e-05/0.00556, allocations: 51.36 kB / 0.8886 GB, free: 11.55 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 4.769e-06/0.005565, allocations: 3.984 kB / 0.8886 GB, free: 11.55 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.588e-05/0.005581, allocations: 8.5 kB / 0.8886 GB, free: 11.54 MB / 0.8542 GB Notification: Performance of SimCode: time 1.042e-06/0.005582, allocations: 3.938 kB / 0.8886 GB, free: 11.54 MB / 0.8542 GB Notification: Performance of Templates: time 0.001507/0.007088, allocations: 164.6 kB / 0.8887 GB, free: 11.38 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.827053253073245]