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.00178/0.00178, allocations: 85.48 kB / 19.44 MB, free: 340 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.002161/0.002161, allocations: 169.2 kB / 22.76 MB, free: 1.664 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.58/1.58, allocations: 177.2 MB / 203.1 MB, free: 5.359 MB / 186.7 MB " [Timeout remaining time 178] 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 3.525/3.525, allocations: 429.5 MB / 0.6729 GB, free: 4.027 MB / 0.6355 GB " [Timeout remaining time 176] 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.923e-06/1.923e-06, allocations: 0.875 kB / 0.8775 GB, free: 6.602 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.938e-05/3.13e-05, allocations: 2.812 kB / 0.8775 GB, free: 6.598 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Min): time 0.001928/0.001959, allocations: 0.7047 MB / 0.8782 GB, free: 5.922 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001197/0.003156, allocations: 0.8416 MB / 0.879 GB, free: 5.07 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.728e-05/0.003193, allocations: 4 kB / 0.879 GB, free: 5.066 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.286e-05/0.003216, allocations: 0 / 0.879 GB, free: 5.066 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 7.157e-05/0.003288, allocations: 5.031 kB / 0.879 GB, free: 5.062 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001039/0.003392, allocations: 11.98 kB / 0.879 GB, free: 5.051 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 9.362e-05/0.003485, allocations: 44.52 kB / 0.8791 GB, free: 5.008 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 9.497e-05/0.00358, allocations: 11.97 kB / 0.8791 GB, free: 4.996 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 9.88e-05/0.003679, allocations: 30.05 kB / 0.8791 GB, free: 4.969 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 4.881e-05/0.003728, allocations: 11.98 kB / 0.8791 GB, free: 4.957 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.268e-05/0.003751, allocations: 4 kB / 0.8791 GB, free: 4.953 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 1.503e-05/0.003766, allocations: 4 kB / 0.8792 GB, free: 4.949 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.607e-05/0.003792, allocations: 11.92 kB / 0.8792 GB, free: 4.938 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.764e-05/0.003819, allocations: 11.34 kB / 0.8792 GB, free: 4.93 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001228/0.003942, allocations: 51.78 kB / 0.8792 GB, free: 4.879 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.384e-06/0.003944, allocations: 0 / 0.8792 GB, free: 4.879 MB / 0.8386 GB Notification: Performance of FrontEnd: time 8.62e-07/0.003945, allocations: 0 / 0.8792 GB, free: 4.879 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.458e-06/0.00395, allocations: 3.938 kB / 0.8792 GB, free: 4.875 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.0005553/0.004505, allocations: 376.2 kB / 0.8796 GB, free: 4.469 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.06e-05/0.004546, allocations: 12.03 kB / 0.8796 GB, free: 4.457 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.343e-05/0.004589, allocations: 0.9375 kB / 0.8796 GB, free: 4.457 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001382/0.004727, allocations: 120.6 kB / 0.8797 GB, free: 4.312 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.514e-05/0.004743, allocations: 5.281 kB / 0.8797 GB, free: 4.309 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.545e-05/0.004758, allocations: 4.375 kB / 0.8797 GB, free: 4.305 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002169/0.004975, allocations: 59.36 kB / 0.8798 GB, free: 4.242 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/0.004985, allocations: 192 / 0.8798 GB, free: 4.242 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.878e-06/0.004994, allocations: 384 / 0.8798 GB, free: 4.242 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.004999, allocations: 1.469 kB / 0.8798 GB, free: 4.242 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001983/0.005197, allocations: 56.88 kB / 0.8798 GB, free: 4.188 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006898/0.005887, allocations: 267.8 kB / 0.8801 GB, free: 3.891 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001604/0.006047, allocations: 48.05 kB / 0.8801 GB, free: 3.832 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001028/0.00615, allocations: 27.77 kB / 0.8802 GB, free: 3.801 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.529e-05/0.006175, allocations: 4.531 kB / 0.8802 GB, free: 3.797 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.744e-05/0.006213, allocations: 38.42 kB / 0.8802 GB, free: 3.75 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=3): time 8.31e-07/0.006214, allocations: 0 / 0.8802 GB, free: 3.75 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3): time 0.0004031/0.006617, allocations: 103 kB / 0.8803 GB, free: 3.645 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.785e-05/0.006665, allocations: 55.41 kB / 0.8804 GB, free: 3.578 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001505/0.006815, allocations: 173.9 kB / 0.8805 GB, free: 3.391 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.234e-05/0.006838, allocations: 26.77 kB / 0.8805 GB, free: 3.359 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 8.573e-05/0.006923, allocations: 130.9 kB / 0.8807 GB, free: 3.227 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.094e-05/0.006954, allocations: 19.89 kB / 0.8807 GB, free: 3.207 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.925e-05/0.006993, allocations: 16.56 kB / 0.8807 GB, free: 3.184 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0002706/0.007264, allocations: 0.4884 MB / 0.8812 GB, free: 2.684 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.273e-05/0.007357, allocations: 21.52 kB / 0.8812 GB, free: 2.664 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.817e-05/0.007435, allocations: 15.98 kB / 0.8812 GB, free: 2.648 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001731/0.007608, allocations: 52.56 kB / 0.8813 GB, free: 2.594 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.00761, allocations: 0 / 0.8813 GB, free: 2.594 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002352/0.007845, allocations: 78.41 kB / 0.8813 GB, free: 2.512 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/0.007861, allocations: 8.594 kB / 0.8813 GB, free: 2.504 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.007866, allocations: 0 / 0.8813 GB, free: 2.504 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.502e-05/0.007881, allocations: 11.38 kB / 0.8814 GB, free: 2.496 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.781e-05/0.007978, allocations: 11.98 kB / 0.8814 GB, free: 2.484 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.418e-06/0.007983, allocations: 0 / 0.8814 GB, free: 2.484 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.794e-05/0.008031, allocations: 4 kB / 0.8814 GB, free: 2.48 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.384e-06/0.008038, allocations: 0 / 0.8814 GB, free: 2.48 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 0.000129/0.008167, allocations: 160.6 kB / 0.8815 GB, free: 2.312 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.299e-05/0.0082, allocations: 7.938 kB / 0.8815 GB, free: 2.305 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002689/0.008469, allocations: 90.12 kB / 0.8816 GB, free: 2.211 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.764e-06/0.008471, allocations: 8 kB / 0.8816 GB, free: 2.203 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.905e-06/0.008474, allocations: 0 / 0.8816 GB, free: 2.203 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.494e-06/0.008476, allocations: 0 / 0.8816 GB, free: 2.203 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001814/0.008658, allocations: 124.6 kB / 0.8817 GB, free: 2.047 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.008659, allocations: 0 / 0.8817 GB, free: 2.047 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.031e-05/0.008729, allocations: 11.98 kB / 0.8818 GB, free: 2.035 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.764e-06/0.008731, allocations: 0 / 0.8818 GB, free: 2.035 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.853e-06/0.008737, allocations: 0 / 0.8818 GB, free: 2.035 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.478e-06/0.008742, allocations: 3.938 kB / 0.8818 GB, free: 2.031 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.008745, allocations: 8 kB / 0.8818 GB, free: 2.023 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003271/0.009072, allocations: 236.2 kB / 0.882 GB, free: 1.773 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.208e-05/0.009084, allocations: 7.984 kB / 0.882 GB, free: 1.766 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.347e-05/0.009098, allocations: 0 / 0.882 GB, free: 1.766 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.781e-05/0.009176, allocations: 7.938 kB / 0.882 GB, free: 1.758 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.002e-05/0.009226, allocations: 11.98 kB / 0.882 GB, free: 1.746 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.837e-06/0.009229, allocations: 0 / 0.882 GB, free: 1.746 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 8.878e-05/0.009318, allocations: 135.2 kB / 0.8822 GB, free: 1.613 MB / 0.8386 GB Notification: Performance of sort global known variables: time 6.1e-08/0.009318, allocations: 0 / 0.8822 GB, free: 1.613 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002083/0.009527, allocations: 4 kB / 0.8822 GB, free: 1.609 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.000155/0.009682, allocations: 103.2 kB / 0.8823 GB, free: 1.496 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002531/0.009935, allocations: 51.66 kB / 0.8823 GB, free: 1.441 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.009936, allocations: 0 / 0.8823 GB, free: 1.441 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001131/0.01005, allocations: 39.59 kB / 0.8823 GB, free: 1.398 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002634/0.01031, allocations: 4 kB / 0.8823 GB, free: 1.395 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003647/0.01068, allocations: 134.3 kB / 0.8825 GB, free: 1.234 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.915e-05/0.01076, allocations: 75.14 kB / 0.8825 GB, free: 1.141 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.721e-05/0.01078, allocations: 0 / 0.8825 GB, free: 1.141 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.902e-05/0.01082, allocations: 12.5 kB / 0.8826 GB, free: 1.129 MB / 0.8386 GB Notification: Performance of SimCode: time 5.21e-07/0.01082, allocations: 0 / 0.8826 GB, free: 1.129 MB / 0.8386 GB Notification: Performance of Templates: time 0.003542/0.01437, allocations: 0.7536 MB / 0.8833 GB, free: 408 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","/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: 8.663431784021668]