Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Line.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.001075/0.001075, 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.000997/0.000997, 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 0.9763/0.9763, allocations: 177.1 MB / 204.2 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.798/1.798, allocations: 359 MB / 0.6052 GB, free: 11.01 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.Reals.Validation.Line,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|line1.u|line1.y|line2.y|line3.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Line") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Line,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|line1.u|line1.y|line2.y|line3.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Line") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.074e-06/2.074e-06, allocations: 0 / 0.7872 GB, free: 12.39 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.014e-05/2.221e-05, allocations: 9.75 kB / 0.7872 GB, free: 12.38 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Line): time 0.001402/0.001424, allocations: 0.8802 MB / 0.788 GB, free: 11.51 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0009814/0.002405, allocations: 0.9375 MB / 0.7889 GB, free: 10.56 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.545e-05/0.002481, allocations: 4.5 kB / 0.789 GB, free: 10.56 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 4.026e-05/0.002521, allocations: 7.875 kB / 0.789 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 8.803e-05/0.002609, allocations: 16.66 kB / 0.789 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002018/0.002811, allocations: 67.83 kB / 0.789 GB, free: 10.47 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001836/0.002994, allocations: 132.5 kB / 0.7892 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001562/0.003151, allocations: 46.39 kB / 0.7892 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001005/0.003251, allocations: 79.8 kB / 0.7893 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 6.108e-05/0.003312, allocations: 48.36 kB / 0.7893 GB, free: 10.17 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 3.541e-05/0.003348, allocations: 12 kB / 0.7893 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 1.664e-05/0.003364, allocations: 13.25 kB / 0.7894 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.812e-05/0.003392, allocations: 27.92 kB / 0.7894 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.978e-05/0.003432, allocations: 39.89 kB / 0.7894 GB, free: 10.08 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001427/0.003575, allocations: 93.16 kB / 0.7895 GB, free: 9.988 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.905e-06/0.003578, allocations: 4 kB / 0.7895 GB, free: 9.984 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.092e-06/0.003579, allocations: 0 / 0.7895 GB, free: 9.984 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.709e-06/0.003584, allocations: 0 / 0.7895 GB, free: 9.984 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0005134/0.004097, allocations: 465.4 kB / 0.79 GB, free: 9.492 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.177e-05/0.004139, allocations: 8.656 kB / 0.79 GB, free: 9.484 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.536e-05/0.004194, allocations: 28.78 kB / 0.79 GB, free: 9.457 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001815/0.004376, allocations: 161.8 kB / 0.7901 GB, free: 9.273 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.307e-05/0.004389, allocations: 13.25 kB / 0.7902 GB, free: 9.262 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.798e-05/0.004407, allocations: 16.31 kB / 0.7902 GB, free: 9.246 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002302/0.004637, allocations: 204.5 kB / 0.7904 GB, free: 9.02 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.724e-06/0.004645, allocations: 4.125 kB / 0.7904 GB, free: 9.016 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.514e-05/0.00466, allocations: 5.156 kB / 0.7904 GB, free: 9.012 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.285e-06/0.004668, allocations: 4.375 kB / 0.7904 GB, free: 9.008 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.338e-05/0.004761, allocations: 64.83 kB / 0.7904 GB, free: 8.945 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005013/0.005263, allocations: 427.9 kB / 0.7909 GB, free: 8.492 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001094/0.005372, allocations: 64.11 kB / 0.7909 GB, free: 8.418 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.138e-05/0.005414, allocations: 27.67 kB / 0.7909 GB, free: 8.387 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.431e-05/0.005438, allocations: 3.125 kB / 0.7909 GB, free: 8.387 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.359e-05/0.005461, allocations: 37.39 kB / 0.791 GB, free: 8.34 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=10): time 1.643e-06/0.005463, allocations: 0 / 0.791 GB, free: 8.34 MB / 0.7448 GB Notification: Performance of matching and sorting (n=10): time 0.0002128/0.005676, allocations: 105.6 kB / 0.7911 GB, free: 8.23 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.389e-05/0.00571, allocations: 55.41 kB / 0.7911 GB, free: 8.164 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001049/0.005815, allocations: 191.6 kB / 0.7913 GB, free: 7.961 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.48e-05/0.005829, allocations: 29.7 kB / 0.7913 GB, free: 7.926 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.538e-05/0.005905, allocations: 174.5 kB / 0.7915 GB, free: 7.75 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.788e-05/0.005923, allocations: 28.47 kB / 0.7915 GB, free: 7.723 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.188e-05/0.005965, allocations: 39.31 kB / 0.7916 GB, free: 7.676 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001102/0.006075, allocations: 497.8 kB / 0.792 GB, free: 7.18 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.345e-05/0.006108, allocations: 15.98 kB / 0.7921 GB, free: 7.164 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.217e-05/0.006141, allocations: 23.92 kB / 0.7921 GB, free: 7.141 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.187e-05/0.006212, allocations: 49.94 kB / 0.7921 GB, free: 7.09 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.006215, allocations: 1.281 kB / 0.7921 GB, free: 7.09 MB / 0.7448 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001135/0.006328, allocations: 93.62 kB / 0.7922 GB, free: 6.992 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.26e-05/0.006341, allocations: 4 kB / 0.7922 GB, free: 6.988 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.006346, allocations: 3.938 kB / 0.7922 GB, free: 6.984 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.281e-05/0.006359, allocations: 5.594 kB / 0.7922 GB, free: 6.98 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001094/0.006468, allocations: 27.92 kB / 0.7923 GB, free: 6.953 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.531e-06/0.006474, allocations: 0 / 0.7923 GB, free: 6.953 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.362e-05/0.006508, allocations: 7.938 kB / 0.7923 GB, free: 6.945 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.556e-06/0.006516, allocations: 9.688 kB / 0.7923 GB, free: 6.938 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 (13): * Single equations (assignments): 13 * 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 7.325e-05/0.006589, allocations: 156.6 kB / 0.7924 GB, free: 6.773 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.163e-05/0.006611, allocations: 15.91 kB / 0.7924 GB, free: 6.758 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001435/0.006755, allocations: 99.22 kB / 0.7925 GB, free: 6.66 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.744e-06/0.006756, allocations: 3.938 kB / 0.7925 GB, free: 6.656 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.00676, allocations: 0 / 0.7925 GB, free: 6.656 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.006764, allocations: 0.5312 kB / 0.7925 GB, free: 6.656 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000282/0.007046, allocations: 401.3 kB / 0.7929 GB, free: 6.211 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.007048, allocations: 4 kB / 0.7929 GB, free: 6.207 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.945e-05/0.007098, allocations: 21.17 kB / 0.793 GB, free: 6.188 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.0071, allocations: 0 / 0.793 GB, free: 6.188 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.646e-06/0.007109, allocations: 4 kB / 0.793 GB, free: 6.184 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.007112, allocations: 4.531 kB / 0.793 GB, free: 6.18 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-06/0.007113, allocations: 1.375 kB / 0.793 GB, free: 6.18 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001469/0.00726, allocations: 258.8 kB / 0.7932 GB, free: 5.895 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.198e-05/0.007272, allocations: 15.92 kB / 0.7932 GB, free: 5.879 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.181e-05/0.007284, allocations: 1.156 kB / 0.7932 GB, free: 5.879 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.423e-05/0.007338, allocations: 12 kB / 0.7932 GB, free: 5.867 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.413e-05/0.007382, allocations: 15.91 kB / 0.7933 GB, free: 5.852 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.552e-06/0.007389, allocations: 8.953 kB / 0.7933 GB, free: 5.844 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.112e-05/0.00744, allocations: 149 kB / 0.7934 GB, free: 5.699 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.00744, allocations: 0 / 0.7934 GB, free: 5.699 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001509/0.007591, allocations: 29.61 kB / 0.7934 GB, free: 5.672 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (10): * Single equations (assignments): 10 * 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 7.431e-05/0.007665, allocations: 95.25 kB / 0.7935 GB, free: 5.566 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001209/0.007786, allocations: 62.69 kB / 0.7936 GB, free: 5.504 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.007788, allocations: 0 / 0.7936 GB, free: 5.504 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.948e-05/0.007827, allocations: 39.67 kB / 0.7936 GB, free: 5.461 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001986/0.008026, allocations: 16.75 kB / 0.7936 GB, free: 5.445 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003652/0.008391, allocations: 268.2 kB / 0.7939 GB, free: 5.141 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.873e-05/0.00843, allocations: 67.28 kB / 0.794 GB, free: 5.055 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.965e-05/0.008459, allocations: 12.48 kB / 0.794 GB, free: 5.043 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.461e-05/0.008494, allocations: 13 kB / 0.794 GB, free: 5.031 MB / 0.7448 GB Notification: Performance of SimCode: time 6.61e-07/0.008494, allocations: 3.438 kB / 0.794 GB, free: 5.031 MB / 0.7448 GB Notification: Performance of Templates: time 0.002767/0.01126, allocations: 1.022 MB / 0.795 GB, free: 4.047 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Line.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Line.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Line -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Line_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Line.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.914685253053904]