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.001154/0.001154, allocations: 92.7 kB / 20.21 MB, free: 4.227 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.001301/0.001301, allocations: 161.3 kB / 23.51 MB, free: 0.9219 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.9433/0.9433, allocations: 177.2 MB / 203.9 MB, free: 5.582 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 1.99/1.99, allocations: 428.5 MB / 0.6727 GB, free: 4.91 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 1.824e-06/1.824e-06, allocations: 0 / 0.8771 GB, free: 6.66 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.174e-05/2.357e-05, allocations: 2.312 kB / 0.8771 GB, free: 6.656 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Min): time 0.001585/0.001609, allocations: 0.6944 MB / 0.8778 GB, free: 5.984 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.001076/0.002684, allocations: 0.8336 MB / 0.8786 GB, free: 5.141 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.656e-05/0.002721, allocations: 0 / 0.8786 GB, free: 5.141 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 2.658e-05/0.002747, allocations: 3.938 kB / 0.8786 GB, free: 5.137 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 6.593e-05/0.002813, allocations: 11.12 kB / 0.8786 GB, free: 5.129 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 9.856e-05/0.002912, allocations: 13.05 kB / 0.8786 GB, free: 5.117 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 9.93e-05/0.003011, allocations: 51.19 kB / 0.8787 GB, free: 5.074 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 8.904e-05/0.0031, allocations: 2.25 kB / 0.8787 GB, free: 5.074 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 8.272e-05/0.003183, allocations: 27.92 kB / 0.8787 GB, free: 5.047 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 4.127e-05/0.003224, allocations: 19.97 kB / 0.8787 GB, free: 5.027 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 1.938e-05/0.003244, allocations: 4 kB / 0.8787 GB, free: 5.023 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 1.047e-05/0.003254, allocations: 7.969 kB / 0.8787 GB, free: 5.02 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 1.769e-05/0.003272, allocations: 7.938 kB / 0.8788 GB, free: 5.012 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 2.577e-05/0.003298, allocations: 19.97 kB / 0.8788 GB, free: 4.992 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 8.23e-05/0.00338, allocations: 35.88 kB / 0.8788 GB, free: 4.957 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.003383, allocations: 4 kB / 0.8788 GB, free: 4.953 MB / 0.7917 GB Notification: Performance of FrontEnd: time 9.01e-07/0.003384, allocations: 0 / 0.8788 GB, free: 4.953 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 3.446e-06/0.003388, allocations: 0 / 0.8788 GB, free: 4.953 MB / 0.7917 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.0003689/0.003756, allocations: 286.2 kB / 0.8791 GB, free: 4.641 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.618e-05/0.003793, allocations: 12.02 kB / 0.8791 GB, free: 4.629 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.264e-05/0.003825, allocations: 5.812 kB / 0.8791 GB, free: 4.625 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.782e-05/0.003903, allocations: 113.7 kB / 0.8792 GB, free: 4.488 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.021e-05/0.003913, allocations: 5.438 kB / 0.8792 GB, free: 4.484 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.112e-05/0.003924, allocations: 4.375 kB / 0.8792 GB, free: 4.48 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001579/0.004082, allocations: 71.22 kB / 0.8793 GB, free: 4.406 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.551e-06/0.004088, allocations: 192 / 0.8793 GB, free: 4.406 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.426e-06/0.004096, allocations: 1.5 kB / 0.8793 GB, free: 4.406 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.004102, allocations: 4.375 kB / 0.8793 GB, free: 4.402 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001437/0.004245, allocations: 64.92 kB / 0.8794 GB, free: 4.34 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002729/0.004518, allocations: 209.3 kB / 0.8796 GB, free: 4.105 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001221/0.00464, allocations: 56.44 kB / 0.8796 GB, free: 4.043 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.842e-05/0.004719, allocations: 40.91 kB / 0.8796 GB, free: 4 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 1.741e-05/0.004736, allocations: 0.7188 kB / 0.8796 GB, free: 4 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.644e-05/0.004753, allocations: 34.56 kB / 0.8797 GB, free: 3.957 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=3): time 9.91e-07/0.004754, allocations: 0.625 kB / 0.8797 GB, free: 3.957 MB / 0.7917 GB Notification: Performance of matching and sorting (n=3): time 0.000318/0.005072, allocations: 139.7 kB / 0.8798 GB, free: 3.816 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.69e-05/0.005098, allocations: 52.62 kB / 0.8799 GB, free: 3.754 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.29e-05/0.005161, allocations: 109.8 kB / 0.88 GB, free: 3.637 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 1.034e-05/0.005172, allocations: 29.7 kB / 0.88 GB, free: 3.602 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 3.524e-05/0.005207, allocations: 91.56 kB / 0.8801 GB, free: 3.512 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 1.874e-05/0.005226, allocations: 7.891 kB / 0.8801 GB, free: 3.504 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.544e-05/0.005251, allocations: 17.72 kB / 0.8801 GB, free: 3.48 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 7.96e-05/0.005331, allocations: 318.8 kB / 0.8804 GB, free: 3.16 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.261e-05/0.005403, allocations: 27.97 kB / 0.8804 GB, free: 3.133 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.292e-05/0.005466, allocations: 27.97 kB / 0.8805 GB, free: 3.105 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000143/0.005609, allocations: 70.31 kB / 0.8805 GB, free: 3.035 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.005611, allocations: 1.375 kB / 0.8805 GB, free: 3.035 MB / 0.7917 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001714/0.005782, allocations: 98.89 kB / 0.8806 GB, free: 2.934 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.533e-05/0.005798, allocations: 15.88 kB / 0.8806 GB, free: 2.918 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.005803, allocations: 7.922 kB / 0.8806 GB, free: 2.91 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.959e-06/0.005813, allocations: 4 kB / 0.8807 GB, free: 2.906 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.702e-05/0.00589, allocations: 11.98 kB / 0.8807 GB, free: 2.895 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.005896, allocations: 4 kB / 0.8807 GB, free: 2.891 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.813e-05/0.005934, allocations: 11.98 kB / 0.8807 GB, free: 2.879 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.364e-06/0.005941, allocations: 4 kB / 0.8807 GB, free: 2.875 MB / 0.7917 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 5.451e-05/0.005996, allocations: 105.8 kB / 0.8808 GB, free: 2.762 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.41e-05/0.00601, allocations: 4 kB / 0.8808 GB, free: 2.758 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002058/0.006216, allocations: 121.5 kB / 0.8809 GB, free: 2.629 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.006218, allocations: 0 / 0.8809 GB, free: 2.629 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.006222, allocations: 0 / 0.8809 GB, free: 2.629 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.006225, allocations: 0 / 0.8809 GB, free: 2.629 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.801e-05/0.006313, allocations: 109.3 kB / 0.881 GB, free: 2.492 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.006315, allocations: 0 / 0.881 GB, free: 2.492 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.222e-05/0.006357, allocations: 23.92 kB / 0.881 GB, free: 2.469 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.006359, allocations: 4 kB / 0.881 GB, free: 2.465 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.264e-06/0.006366, allocations: 4 kB / 0.881 GB, free: 2.461 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.006368, allocations: 3.938 kB / 0.881 GB, free: 2.457 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.006369, allocations: 0 / 0.881 GB, free: 2.457 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001959/0.006565, allocations: 191.5 kB / 0.8812 GB, free: 2.254 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 7.844e-06/0.006573, allocations: 3.953 kB / 0.8812 GB, free: 2.25 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.778e-06/0.006583, allocations: 0 / 0.8812 GB, free: 2.25 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.341e-05/0.006636, allocations: 23.92 kB / 0.8813 GB, free: 2.227 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.035e-05/0.006677, allocations: 3.984 kB / 0.8813 GB, free: 2.223 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.388e-06/0.006681, allocations: 4 kB / 0.8813 GB, free: 2.219 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 3.175e-05/0.006713, allocations: 87.28 kB / 0.8813 GB, free: 2.133 MB / 0.7917 GB Notification: Performance of sort global known variables: time 5e-08/0.006713, allocations: 0 / 0.8813 GB, free: 2.133 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0001497/0.006862, allocations: 8 kB / 0.8814 GB, free: 2.125 MB / 0.7917 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 7.182e-05/0.006934, allocations: 100.3 kB / 0.8814 GB, free: 2.02 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.0001876/0.007122, allocations: 71.92 kB / 0.8815 GB, free: 1.949 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 1.303e-06/0.007123, allocations: 0 / 0.8815 GB, free: 1.949 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 7.082e-05/0.007194, allocations: 32.06 kB / 0.8815 GB, free: 1.918 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000203/0.007397, allocations: 11.98 kB / 0.8816 GB, free: 1.906 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002629/0.00766, allocations: 128.6 kB / 0.8817 GB, free: 1.754 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.6e-05/0.007706, allocations: 79.16 kB / 0.8818 GB, free: 1.656 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 2.121e-05/0.007727, allocations: 0 / 0.8818 GB, free: 1.656 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.571e-05/0.007753, allocations: 12.5 kB / 0.8818 GB, free: 1.645 MB / 0.7917 GB Notification: Performance of SimCode: time 3.41e-07/0.007753, allocations: 0 / 0.8818 GB, free: 1.645 MB / 0.7917 GB Notification: Performance of Templates: time 0.001979/0.009733, allocations: 0.7475 MB / 0.8825 GB, free: 0.9141 MB / 0.7917 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=800 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe 2>&1) [Timeout 800] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min.diff",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.047756936401129]