Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.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.0008759/0.0008759, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.0008756/0.0008756, allocations: 177.9 kB / 23.21 MB, free: 1.348 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.8921/0.8921, allocations: 177.1 MB / 203.5 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.709/1.709, allocations: 377.8 MB / 0.6228 GB, free: 8.66 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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.MultiMin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.1..y|con.2..y|con.3..y|con.4..y|con.5..y|minVal.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.1..y|con.2..y|con.3..y|con.4..y|con.5..y|minVal.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.734e-06/1.734e-06, allocations: 0 / 0.9823 GB, free: 2.027 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.354e-05/2.528e-05, allocations: 6.219 kB / 0.9823 GB, free: 2.02 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin): time 0.001483/0.001508, allocations: 0.6589 MB / 0.9829 GB, free: 1.363 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0001708/0.001679, allocations: 23.91 kB / 0.9829 GB, free: 1.34 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.173e-05/0.001721, allocations: 3.938 kB / 0.9829 GB, free: 1.336 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 9.818e-05/0.001819, allocations: 4 kB / 0.9829 GB, free: 1.332 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 4.275e-05/0.001862, allocations: 3.938 kB / 0.9829 GB, free: 1.328 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 9.545e-05/0.001957, allocations: 0 / 0.9829 GB, free: 1.328 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.0001149/0.002072, allocations: 43.91 kB / 0.983 GB, free: 1.285 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000136/0.002208, allocations: 27.91 kB / 0.983 GB, free: 1.258 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 4.112e-05/0.002249, allocations: 15.98 kB / 0.983 GB, free: 1.242 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 3.628e-05/0.002286, allocations: 15.92 kB / 0.983 GB, free: 1.227 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 2.71e-05/0.002313, allocations: 0 / 0.983 GB, free: 1.227 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 1.234e-05/0.002325, allocations: 8 kB / 0.983 GB, free: 1.219 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 3.316e-05/0.002358, allocations: 8 kB / 0.9831 GB, free: 1.211 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 3.043e-05/0.002389, allocations: 11.92 kB / 0.9831 GB, free: 1.199 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 0.0001131/0.002502, allocations: 43.88 kB / 0.9831 GB, free: 1.156 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 2.234e-06/0.002504, allocations: 0 / 0.9831 GB, free: 1.156 MB / 0.9323 GB Notification: Performance of FrontEnd: time 9.72e-07/0.002505, allocations: 0 / 0.9831 GB, free: 1.156 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 4.409e-06/0.002509, allocations: 0 / 0.9831 GB, free: 1.156 MB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.000313/0.002822, allocations: 282.1 kB / 0.9834 GB, free: 0.8477 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.907e-05/0.002861, allocations: 8.031 kB / 0.9834 GB, free: 0.8398 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.811e-05/0.0029, allocations: 8.891 kB / 0.9834 GB, free: 0.832 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001513/0.003051, allocations: 129.7 kB / 0.9835 GB, free: 0.6797 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.4e-05/0.003065, allocations: 12.31 kB / 0.9835 GB, free: 0.668 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.116e-05/0.003076, allocations: 4.375 kB / 0.9835 GB, free: 0.6641 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001508/0.003227, allocations: 74.23 kB / 0.9836 GB, free: 0.5859 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.098e-06/0.003236, allocations: 192 / 0.9836 GB, free: 0.5859 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.02e-05/0.003246, allocations: 384 / 0.9836 GB, free: 0.5859 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.172e-06/0.003252, allocations: 4.375 kB / 0.9836 GB, free: 0.582 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.268e-05/0.003325, allocations: 55.84 kB / 0.9837 GB, free: 0.5273 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003617/0.003687, allocations: 406.9 kB / 0.9841 GB, free: 100 kB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 7.893e-05/0.003766, allocations: 173.1 kB / 0.9842 GB, free: 15.92 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.342e-05/0.003789, allocations: 80.14 kB / 0.9843 GB, free: 15.84 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.895e-05/0.003808, allocations: 79.28 kB / 0.9844 GB, free: 15.76 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.762e-05/0.003846, allocations: 113.8 kB / 0.9845 GB, free: 15.64 MB / 0.948 GB Notification: Performance of pre-optimization done (n=0): time 7.82e-07/0.003846, allocations: 0 / 0.9845 GB, free: 15.64 MB / 0.948 GB Notification: Performance of matching and sorting (n=0): time 5.579e-05/0.003902, allocations: 25.7 kB / 0.9845 GB, free: 15.61 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.538e-05/0.003948, allocations: 126.7 kB / 0.9846 GB, free: 15.47 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.533e-05/0.004043, allocations: 125.8 kB / 0.9847 GB, free: 15.34 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 7.805e-06/0.004051, allocations: 25.7 kB / 0.9848 GB, free: 15.3 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 5.356e-05/0.004104, allocations: 104 kB / 0.9849 GB, free: 15.2 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.444e-06/0.004107, allocations: 0 / 0.9849 GB, free: 15.2 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.284e-05/0.004129, allocations: 9.719 kB / 0.9849 GB, free: 15.18 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.06e-05/0.00421, allocations: 322.8 kB / 0.9852 GB, free: 14.86 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.347e-05/0.004224, allocations: 11.98 kB / 0.9852 GB, free: 14.85 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.648e-06/0.004233, allocations: 8 kB / 0.9852 GB, free: 14.84 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.991e-05/0.004263, allocations: 16.78 kB / 0.9852 GB, free: 14.82 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.004265, allocations: 0 / 0.9852 GB, free: 14.82 MB / 0.948 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.87e-05/0.004364, allocations: 53.64 kB / 0.9853 GB, free: 14.76 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.046e-05/0.004374, allocations: 4 kB / 0.9853 GB, free: 14.76 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-06/0.004378, allocations: 0 / 0.9853 GB, free: 14.76 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.261e-05/0.00439, allocations: 7.969 kB / 0.9853 GB, free: 14.75 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.966e-05/0.00444, allocations: 4 kB / 0.9853 GB, free: 14.75 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.148e-06/0.004444, allocations: 4.094 kB / 0.9853 GB, free: 14.74 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.336e-05/0.004458, allocations: 4 kB / 0.9853 GB, free: 14.74 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.336e-06/0.004466, allocations: 0 / 0.9853 GB, free: 14.74 MB / 0.948 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 (1): * Single equations (assignments): 1 * 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.494e-05/0.004541, allocations: 201 kB / 0.9855 GB, free: 14.53 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.518e-05/0.004576, allocations: 105 kB / 0.9856 GB, free: 14.42 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.27e-05/0.004609, allocations: 112.4 kB / 0.9857 GB, free: 14.31 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.3e-05/0.004652, allocations: 184.2 kB / 0.9859 GB, free: 14.12 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.305e-05/0.004695, allocations: 184.2 kB / 0.986 GB, free: 13.93 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.869e-05/0.004734, allocations: 180.2 kB / 0.9862 GB, free: 13.75 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000135/0.004868, allocations: 368.7 kB / 0.9866 GB, free: 13.35 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.324e-05/0.004902, allocations: 113 kB / 0.9867 GB, free: 13.23 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.823e-05/0.00493, allocations: 108.9 kB / 0.9868 GB, free: 13.12 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.634e-05/0.004976, allocations: 180.2 kB / 0.9869 GB, free: 12.94 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.599e-05/0.005022, allocations: 184.5 kB / 0.9871 GB, free: 12.75 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.404e-05/0.005066, allocations: 180.2 kB / 0.9873 GB, free: 12.57 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.176e-05/0.005108, allocations: 180.3 kB / 0.9875 GB, free: 12.38 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.863e-05/0.005207, allocations: 315.7 kB / 0.9878 GB, free: 12.05 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.875e-05/0.005235, allocations: 104.9 kB / 0.9879 GB, free: 11.94 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.318e-05/0.005289, allocations: 184.2 kB / 0.988 GB, free: 11.75 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.816e-05/0.005337, allocations: 101 kB / 0.9881 GB, free: 11.65 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.418e-05/0.005381, allocations: 188.2 kB / 0.9883 GB, free: 11.46 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.517e-05/0.005406, allocations: 105 kB / 0.9884 GB, free: 11.35 MB / 0.948 GB Notification: Performance of sorting global known variables: time 4.722e-05/0.005453, allocations: 103.6 kB / 0.9885 GB, free: 11.25 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.005453, allocations: 0 / 0.9885 GB, free: 11.25 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001437/0.005597, allocations: 7.938 kB / 0.9885 GB, free: 11.24 MB / 0.948 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 9.453e-05/0.005692, allocations: 173.8 kB / 0.9887 GB, free: 11.06 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 6.137e-05/0.005753, allocations: 15.92 kB / 0.9887 GB, free: 11.04 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.005755, allocations: 0 / 0.9887 GB, free: 11.04 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 9.82e-07/0.005756, allocations: 0 / 0.9887 GB, free: 11.04 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002958/0.006052, allocations: 459.7 kB / 0.9891 GB, free: 10.59 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002275/0.006279, allocations: 233.8 kB / 0.9894 GB, free: 10.33 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.314e-05/0.006332, allocations: 79.33 kB / 0.9894 GB, free: 10.23 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.198e-05/0.006354, allocations: 8.5 kB / 0.9895 GB, free: 10.22 MB / 0.948 GB Notification: Performance of SimCode: time 5.11e-07/0.006355, allocations: 0 / 0.9895 GB, free: 10.22 MB / 0.948 GB Notification: Performance of Templates: time 0.00144/0.007795, allocations: 0.6444 MB / 0.9901 GB, free: 9.578 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_MultiMin.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.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: 6.456455944105983]