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.001437/0.001437, allocations: 87.58 kB / 20.45 MB, free: 4.113 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.001523/0.001523, allocations: 161 kB / 23.82 MB, free: 0.7461 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.003/1.003, allocations: 177.2 MB / 204.2 MB, free: 5.641 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.933/1.933, allocations: 359 MB / 0.6052 GB, free: 11.01 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 3.607e-06/3.607e-06, allocations: 0 / 0.7871 GB, free: 12.47 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.465e-05/3.825e-05, allocations: 2.312 kB / 0.7871 GB, free: 12.46 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Constant): time 0.002361/0.002399, allocations: 0.5641 MB / 0.7877 GB, free: 11.92 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 6.086e-05/0.00246, allocations: 8.172 kB / 0.7877 GB, free: 11.91 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.869e-05/0.002489, allocations: 0.5312 kB / 0.7877 GB, free: 11.91 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.554e-05/0.002524, allocations: 0 / 0.7877 GB, free: 11.91 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 3.166e-05/0.002556, allocations: 0.7812 kB / 0.7877 GB, free: 11.91 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 4.364e-05/0.002599, allocations: 4 kB / 0.7877 GB, free: 11.91 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 6.368e-05/0.002663, allocations: 1.125 kB / 0.7877 GB, free: 11.91 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 5.331e-05/0.002716, allocations: 0 / 0.7877 GB, free: 11.91 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 3.386e-05/0.00275, allocations: 0 / 0.7877 GB, free: 11.91 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 2.342e-05/0.002774, allocations: 4.688 kB / 0.7877 GB, free: 11.9 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.711e-05/0.002791, allocations: 3.938 kB / 0.7877 GB, free: 11.9 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 5.049e-06/0.002796, allocations: 0.9062 kB / 0.7877 GB, free: 11.9 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.575e-05/0.002812, allocations: 0 / 0.7877 GB, free: 11.9 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.153e-05/0.002833, allocations: 4.656 kB / 0.7877 GB, free: 11.89 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 7.531e-05/0.002908, allocations: 3.984 kB / 0.7877 GB, free: 11.89 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.002912, allocations: 3.5 kB / 0.7877 GB, free: 11.89 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.142e-06/0.002914, allocations: 0 / 0.7877 GB, free: 11.89 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.511e-06/0.002919, allocations: 7.938 kB / 0.7877 GB, free: 11.88 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.0003263/0.003245, allocations: 340.4 kB / 0.788 GB, free: 11.51 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.679e-05/0.003292, allocations: 8.031 kB / 0.788 GB, free: 11.5 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.587e-05/0.003328, allocations: 0.9375 kB / 0.788 GB, free: 11.5 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001001/0.003428, allocations: 104.6 kB / 0.7881 GB, free: 11.38 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.44e-05/0.003443, allocations: 8.375 kB / 0.7881 GB, free: 11.37 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.287e-05/0.003455, allocations: 384 / 0.7881 GB, free: 11.37 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.94e-05/0.003545, allocations: 26.98 kB / 0.7882 GB, free: 11.34 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.003556, allocations: 192 / 0.7882 GB, free: 11.34 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.057e-06/0.003565, allocations: 2.031 kB / 0.7882 GB, free: 11.34 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.939e-06/0.003575, allocations: 4.375 kB / 0.7882 GB, free: 11.33 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.654e-05/0.003591, allocations: 11.86 kB / 0.7882 GB, free: 11.32 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003236/0.003915, allocations: 466.2 kB / 0.7886 GB, free: 10.83 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000109/0.004024, allocations: 266.3 kB / 0.7889 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.92e-05/0.004073, allocations: 130.9 kB / 0.789 GB, free: 10.42 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 3.507e-05/0.004108, allocations: 120.2 kB / 0.7891 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.343e-05/0.004171, allocations: 156.5 kB / 0.7893 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=0): time 1.262e-06/0.004173, allocations: 0 / 0.7893 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of matching and sorting (n=0): time 7.963e-05/0.004252, allocations: 34.97 kB / 0.7893 GB, free: 10.1 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.818e-05/0.00432, allocations: 174.6 kB / 0.7895 GB, free: 9.918 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001208/0.004441, allocations: 155.5 kB / 0.7896 GB, free: 9.75 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.238e-05/0.004454, allocations: 25.7 kB / 0.7896 GB, free: 9.719 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.966e-05/0.004503, allocations: 126.9 kB / 0.7898 GB, free: 9.59 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.854e-06/0.004505, allocations: 0 / 0.7898 GB, free: 9.59 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.715e-05/0.004532, allocations: 19.38 kB / 0.7898 GB, free: 9.562 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.00015/0.004682, allocations: 493.1 kB / 0.7903 GB, free: 9.07 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.242e-06/0.004689, allocations: 0 / 0.7903 GB, free: 9.07 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.471e-06/0.004694, allocations: 1.625 kB / 0.7903 GB, free: 9.07 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.971e-05/0.004734, allocations: 119.2 kB / 0.7904 GB, free: 8.953 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.352e-05/0.004767, allocations: 127.1 kB / 0.7905 GB, free: 8.828 MB / 0.7448 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.579e-05/0.004833, allocations: 30.64 kB / 0.7905 GB, free: 8.793 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 5.008e-05/0.004883, allocations: 127.2 kB / 0.7906 GB, free: 8.668 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.995e-05/0.004923, allocations: 123.7 kB / 0.7908 GB, free: 8.547 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.152e-05/0.005015, allocations: 247 kB / 0.791 GB, free: 8.305 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.744e-05/0.005052, allocations: 123.2 kB / 0.7911 GB, free: 8.184 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.386e-05/0.005126, allocations: 250.8 kB / 0.7914 GB, free: 7.938 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.126e-05/0.005207, allocations: 119.9 kB / 0.7915 GB, free: 7.82 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.454e-05/0.005242, allocations: 119.2 kB / 0.7916 GB, free: 7.703 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.0003963/0.005638, allocations: 399.9 kB / 0.792 GB, free: 7.301 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.137e-05/0.005689, allocations: 152.8 kB / 0.7921 GB, free: 7.145 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.526e-05/0.005745, allocations: 156.4 kB / 0.7923 GB, free: 6.984 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.618e-05/0.005801, allocations: 269.4 kB / 0.7925 GB, free: 6.715 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.806e-05/0.005859, allocations: 264.1 kB / 0.7928 GB, free: 6.449 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.004e-05/0.005919, allocations: 272.1 kB / 0.793 GB, free: 6.176 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00017/0.006089, allocations: 499.9 kB / 0.7935 GB, free: 5.645 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.494e-05/0.006124, allocations: 150.1 kB / 0.7936 GB, free: 5.492 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.326e-05/0.006157, allocations: 152.8 kB / 0.7938 GB, free: 5.336 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.979e-05/0.006217, allocations: 268.1 kB / 0.794 GB, free: 5.066 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.687e-05/0.006294, allocations: 268.6 kB / 0.7943 GB, free: 4.797 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.671e-05/0.00636, allocations: 276 kB / 0.7946 GB, free: 4.52 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.947e-05/0.00642, allocations: 268.9 kB / 0.7948 GB, free: 4.25 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001308/0.006551, allocations: 447.9 kB / 0.7952 GB, free: 3.785 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.067e-05/0.006591, allocations: 153.6 kB / 0.7954 GB, free: 3.629 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.834e-05/0.00666, allocations: 264.1 kB / 0.7956 GB, free: 3.363 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.563e-05/0.006715, allocations: 153.8 kB / 0.7958 GB, free: 3.207 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.882e-05/0.006784, allocations: 276 kB / 0.7961 GB, free: 2.93 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.361e-05/0.006818, allocations: 145.2 kB / 0.7962 GB, free: 2.781 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.231e-05/0.00686, allocations: 124.4 kB / 0.7963 GB, free: 2.66 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.00686, allocations: 0 / 0.7963 GB, free: 2.66 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001613/0.007021, allocations: 0.8438 kB / 0.7963 GB, free: 2.66 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.0001281/0.007149, allocations: 218.4 kB / 0.7965 GB, free: 2.441 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 5.064e-05/0.0072, allocations: 3.938 kB / 0.7965 GB, free: 2.438 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.007202, allocations: 0 / 0.7965 GB, free: 2.438 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.112e-06/0.007203, allocations: 0 / 0.7965 GB, free: 2.438 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003145/0.007518, allocations: 0.7062 MB / 0.7972 GB, free: 1.727 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002352/0.007753, allocations: 215.5 kB / 0.7974 GB, free: 1.488 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.267e-05/0.007786, allocations: 51.36 kB / 0.7975 GB, free: 1.418 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.114e-06/0.007788, allocations: 4 kB / 0.7975 GB, free: 1.414 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.511e-05/0.007803, allocations: 8.5 kB / 0.7975 GB, free: 1.406 MB / 0.7448 GB Notification: Performance of SimCode: time 1.303e-06/0.007804, allocations: 3.938 kB / 0.7975 GB, free: 1.402 MB / 0.7448 GB Notification: Performance of Templates: time 0.001548/0.009352, allocations: 166.1 kB / 0.7976 GB, free: 1.242 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.4672705749981105]