Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min.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.001614/0.001614, allocations: 93.06 kB / 19.65 MB, free: 276 kB / 13.93 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.001719/0.001719, allocations: 165 kB / 23.01 MB, free: 1.551 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.9764/0.9764, allocations: 177.1 MB / 203.4 MB, free: 5.633 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.119/2.119, allocations: 429.5 MB / 0.6732 GB, free: 4.023 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.Reals.Validation.Min,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|min1.u1|min1.u2|min1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Min,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|min1.u1|min1.u2|min1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.876e-06/2.876e-06, allocations: 0 / 0.8782 GB, free: 6.258 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.097e-05/3.384e-05, allocations: 2.969 kB / 0.8782 GB, free: 6.254 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Min): time 0.002434/0.002467, allocations: 0.7322 MB / 0.879 GB, free: 5.547 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001197/0.003664, allocations: 0.8486 MB / 0.8798 GB, free: 4.688 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.727e-05/0.003712, allocations: 0 / 0.8798 GB, free: 4.688 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.436e-05/0.003746, allocations: 0.7656 kB / 0.8798 GB, free: 4.688 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 8.313e-05/0.003829, allocations: 9.672 kB / 0.8798 GB, free: 4.68 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001214/0.003951, allocations: 17.48 kB / 0.8798 GB, free: 4.664 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 9.494e-05/0.004046, allocations: 43.84 kB / 0.8799 GB, free: 4.621 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001063/0.004152, allocations: 8 kB / 0.8799 GB, free: 4.613 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 9.745e-05/0.004249, allocations: 25.28 kB / 0.8799 GB, free: 4.59 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 5.425e-05/0.004304, allocations: 19.91 kB / 0.8799 GB, free: 4.57 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.301e-05/0.004327, allocations: 4 kB / 0.8799 GB, free: 4.566 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 1.282e-05/0.004339, allocations: 4 kB / 0.8799 GB, free: 4.562 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.152e-05/0.004361, allocations: 8.875 kB / 0.8799 GB, free: 4.555 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.879e-05/0.00439, allocations: 7.984 kB / 0.8799 GB, free: 4.547 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001087/0.004498, allocations: 37.31 kB / 0.88 GB, free: 4.512 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.464e-06/0.004501, allocations: 0 / 0.88 GB, free: 4.512 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.423e-06/0.004502, allocations: 0 / 0.88 GB, free: 4.512 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.659e-06/0.004507, allocations: 0 / 0.88 GB, free: 4.512 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004399/0.004947, allocations: 382 kB / 0.8803 GB, free: 4.102 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.395e-05/0.004991, allocations: 8.031 kB / 0.8803 GB, free: 4.094 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.012e-05/0.005031, allocations: 4.938 kB / 0.8803 GB, free: 4.09 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001108/0.005142, allocations: 128.5 kB / 0.8805 GB, free: 3.938 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.272e-05/0.005154, allocations: 384 / 0.8805 GB, free: 3.938 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.796e-05/0.005172, allocations: 8.375 kB / 0.8805 GB, free: 3.93 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000175/0.005347, allocations: 58.94 kB / 0.8805 GB, free: 3.863 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.255e-05/0.00536, allocations: 4.172 kB / 0.8805 GB, free: 3.859 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.32e-05/0.005373, allocations: 4.375 kB / 0.8805 GB, free: 3.855 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.516e-06/0.005382, allocations: 384 / 0.8805 GB, free: 3.855 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.567e-05/0.005427, allocations: 15.88 kB / 0.8806 GB, free: 3.84 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003861/0.005813, allocations: 255.9 kB / 0.8808 GB, free: 3.555 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 8.958e-05/0.005903, allocations: 35.05 kB / 0.8808 GB, free: 3.508 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.165e-05/0.005935, allocations: 15.69 kB / 0.8808 GB, free: 3.488 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.245e-05/0.005957, allocations: 4 kB / 0.8808 GB, free: 3.484 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.758e-05/0.005985, allocations: 37.33 kB / 0.8809 GB, free: 3.438 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=3): time 1.262e-06/0.005986, allocations: 3.938 kB / 0.8809 GB, free: 3.434 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3): time 0.0001934/0.006179, allocations: 53.67 kB / 0.8809 GB, free: 3.375 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.541e-05/0.006215, allocations: 55.41 kB / 0.881 GB, free: 3.309 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001073/0.006322, allocations: 165.9 kB / 0.8812 GB, free: 3.129 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.596e-05/0.006338, allocations: 25.7 kB / 0.8812 GB, free: 3.098 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.766e-05/0.006396, allocations: 130.9 kB / 0.8813 GB, free: 2.965 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.665e-05/0.006422, allocations: 15.89 kB / 0.8813 GB, free: 2.949 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.8e-05/0.00646, allocations: 23.38 kB / 0.8813 GB, free: 2.918 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001515/0.006612, allocations: 496.1 kB / 0.8818 GB, free: 2.422 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.326e-05/0.006635, allocations: 0 / 0.8818 GB, free: 2.422 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.859e-05/0.006654, allocations: 7.984 kB / 0.8818 GB, free: 2.414 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.768e-05/0.006701, allocations: 23.62 kB / 0.8818 GB, free: 2.387 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.006703, allocations: 0 / 0.8818 GB, free: 2.387 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.044e-05/0.006794, allocations: 37.69 kB / 0.8819 GB, free: 2.344 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.71e-05/0.006811, allocations: 14.44 kB / 0.8819 GB, free: 2.332 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.006816, allocations: 0 / 0.8819 GB, free: 2.332 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.69e-05/0.006833, allocations: 0 / 0.8819 GB, free: 2.332 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000111/0.006943, allocations: 12 kB / 0.8819 GB, free: 2.32 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.63e-06/0.006949, allocations: 4 kB / 0.8819 GB, free: 2.316 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.866e-05/0.006988, allocations: 11.98 kB / 0.8819 GB, free: 2.305 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.066e-06/0.006996, allocations: 0 / 0.8819 GB, free: 2.305 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 (3): * Single equations (assignments): 3 * 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 8.489e-05/0.007081, allocations: 160.5 kB / 0.8821 GB, free: 2.137 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.751e-05/0.007108, allocations: 3.953 kB / 0.8821 GB, free: 2.133 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001319/0.00724, allocations: 61.61 kB / 0.8821 GB, free: 2.066 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.007242, allocations: 0 / 0.8821 GB, free: 2.066 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.167e-06/0.007246, allocations: 0 / 0.8821 GB, free: 2.066 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.00725, allocations: 0 / 0.8821 GB, free: 2.066 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001466/0.007397, allocations: 124.6 kB / 0.8823 GB, free: 1.91 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.007399, allocations: 4.375 kB / 0.8823 GB, free: 1.906 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.637e-05/0.007455, allocations: 11.98 kB / 0.8823 GB, free: 1.895 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.007458, allocations: 0 / 0.8823 GB, free: 1.895 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.576e-06/0.007466, allocations: 0 / 0.8823 GB, free: 1.895 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.885e-06/0.007469, allocations: 3.938 kB / 0.8823 GB, free: 1.891 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.007472, allocations: 4 kB / 0.8823 GB, free: 1.887 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001592/0.007631, allocations: 199.9 kB / 0.8825 GB, free: 1.672 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.067e-05/0.007642, allocations: 7.953 kB / 0.8825 GB, free: 1.664 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.375e-05/0.007655, allocations: 7.938 kB / 0.8825 GB, free: 1.656 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.034e-05/0.007726, allocations: 11.92 kB / 0.8825 GB, free: 1.645 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.592e-05/0.007772, allocations: 8 kB / 0.8825 GB, free: 1.637 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.488e-06/0.007776, allocations: 0 / 0.8825 GB, free: 1.637 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 5.198e-05/0.007828, allocations: 131.2 kB / 0.8826 GB, free: 1.508 MB / 0.8386 GB Notification: Performance of sort global known variables: time 8e-08/0.007828, allocations: 0 / 0.8826 GB, free: 1.508 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002622/0.00809, allocations: 4 kB / 0.8826 GB, free: 1.504 MB / 0.8386 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 (3): * Single equations (assignments): 3 * 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.0001198/0.00821, allocations: 95.25 kB / 0.8827 GB, free: 1.398 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001062/0.008317, allocations: 27.61 kB / 0.8827 GB, free: 1.367 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.008318, allocations: 0 / 0.8827 GB, free: 1.367 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 3.051e-05/0.008349, allocations: 11.69 kB / 0.8828 GB, free: 1.352 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002564/0.008605, allocations: 15.98 kB / 0.8828 GB, free: 1.336 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003031/0.008908, allocations: 126.3 kB / 0.8829 GB, free: 1.184 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.385e-05/0.008942, allocations: 55.34 kB / 0.8829 GB, free: 1.109 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 1.794e-05/0.00896, allocations: 4 kB / 0.8829 GB, free: 1.105 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.849e-05/0.008988, allocations: 8.5 kB / 0.883 GB, free: 1.098 MB / 0.8386 GB Notification: Performance of SimCode: time 1.072e-06/0.008989, allocations: 0 / 0.883 GB, free: 1.098 MB / 0.8386 GB Notification: Performance of Templates: time 0.002367/0.01136, allocations: 0.7477 MB / 0.8837 GB, free: 372 kB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Min.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.576245596632361]