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.001439/0.001439, allocations: 79.36 kB / 19.18 MB, free: 2.52 MB / 14.72 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.001567/0.001567, allocations: 166.6 kB / 22.46 MB, free: 5.375 MB / 14.72 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.486/1.486, allocations: 177.1 MB / 202.8 MB, free: 9.156 MB / 190.1 MB " [Timeout remaining time 178] 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 2.884/2.884, allocations: 377.8 MB / 0.6221 GB, free: 12.55 MB / 0.5919 GB " [Timeout remaining time 176] 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 2.875e-06/2.875e-06, allocations: 0 / 0.9815 GB, free: 11.87 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.212e-05/3.499e-05, allocations: 6.219 kB / 0.9815 GB, free: 11.86 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin): time 0.001868/0.001903, allocations: 0.655 MB / 0.9821 GB, free: 11.21 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0001829/0.002086, allocations: 19.92 kB / 0.9822 GB, free: 11.19 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.537e-05/0.002131, allocations: 0 / 0.9822 GB, free: 11.19 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001097/0.002241, allocations: 3.938 kB / 0.9822 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 4.677e-05/0.002288, allocations: 4 kB / 0.9822 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001068/0.002395, allocations: 4 kB / 0.9822 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001342/0.002529, allocations: 43.89 kB / 0.9822 GB, free: 11.13 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001318/0.002661, allocations: 23.92 kB / 0.9822 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 4.997e-05/0.002711, allocations: 19.92 kB / 0.9822 GB, free: 11.09 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 3.706e-05/0.002748, allocations: 11.98 kB / 0.9823 GB, free: 11.08 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.829e-05/0.002776, allocations: 4 kB / 0.9823 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.257e-05/0.002788, allocations: 4 kB / 0.9823 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 3.777e-05/0.002826, allocations: 15.92 kB / 0.9823 GB, free: 11.05 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.951e-05/0.002856, allocations: 4 kB / 0.9823 GB, free: 11.05 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001362/0.002992, allocations: 51.8 kB / 0.9823 GB, free: 11 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 1.763e-06/0.002994, allocations: 0 / 0.9823 GB, free: 11 MB / 0.9356 GB Notification: Performance of FrontEnd: time 7.31e-07/0.002994, allocations: 0 / 0.9823 GB, free: 11 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 7.284e-06/0.003002, allocations: 0 / 0.9823 GB, free: 11 MB / 0.9356 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.0004065/0.003408, allocations: 286.1 kB / 0.9826 GB, free: 10.69 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.476e-05/0.003453, allocations: 8.031 kB / 0.9826 GB, free: 10.68 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.195e-05/0.003485, allocations: 8.891 kB / 0.9826 GB, free: 10.67 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002023/0.003687, allocations: 125.7 kB / 0.9827 GB, free: 10.52 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.103e-05/0.003698, allocations: 8.375 kB / 0.9827 GB, free: 10.52 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.702e-05/0.003715, allocations: 8.375 kB / 0.9828 GB, free: 10.51 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001716/0.003887, allocations: 74.17 kB / 0.9828 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.003895, allocations: 192 / 0.9828 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.01e-05/0.003905, allocations: 384 / 0.9828 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.57e-06/0.00391, allocations: 4.375 kB / 0.9828 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.504e-05/0.003995, allocations: 51.91 kB / 0.9829 GB, free: 10.38 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005494/0.004545, allocations: 410.9 kB / 0.9833 GB, free: 9.941 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000117/0.004662, allocations: 165.1 kB / 0.9834 GB, free: 9.77 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.693e-05/0.004709, allocations: 80.14 kB / 0.9835 GB, free: 9.688 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 4.005e-05/0.004749, allocations: 83.27 kB / 0.9836 GB, free: 9.605 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001079/0.004857, allocations: 113.8 kB / 0.9837 GB, free: 9.484 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=0): time 1.203e-06/0.004858, allocations: 112 / 0.9837 GB, free: 9.484 MB / 0.9356 GB Notification: Performance of matching and sorting (n=0): time 7.98e-05/0.004938, allocations: 33.58 kB / 0.9837 GB, free: 9.445 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001173/0.005055, allocations: 130.7 kB / 0.9839 GB, free: 9.305 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001406/0.005196, allocations: 121.8 kB / 0.984 GB, free: 9.176 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.564e-05/0.005211, allocations: 25.7 kB / 0.984 GB, free: 9.145 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 9.261e-05/0.005304, allocations: 104 kB / 0.9841 GB, free: 9.039 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.285e-06/0.005306, allocations: 0 / 0.9841 GB, free: 9.039 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.252e-05/0.005339, allocations: 13.72 kB / 0.9841 GB, free: 9.02 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001957/0.005534, allocations: 318.8 kB / 0.9844 GB, free: 8.699 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.11e-05/0.005555, allocations: 11.98 kB / 0.9844 GB, free: 8.688 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.148e-05/0.005567, allocations: 4 kB / 0.9844 GB, free: 8.684 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.876e-05/0.005616, allocations: 28.78 kB / 0.9845 GB, free: 8.652 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.005617, allocations: 0 / 0.9845 GB, free: 8.652 MB / 0.9356 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001649/0.005782, allocations: 49.64 kB / 0.9845 GB, free: 8.598 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.273e-05/0.005795, allocations: 4 kB / 0.9845 GB, free: 8.594 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.005799, allocations: 3.938 kB / 0.9845 GB, free: 8.59 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.754e-05/0.005816, allocations: 4 kB / 0.9845 GB, free: 8.586 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.721e-05/0.005873, allocations: 3.984 kB / 0.9845 GB, free: 8.582 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.022e-06/0.005879, allocations: 4.094 kB / 0.9845 GB, free: 8.578 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.416e-05/0.005903, allocations: 4 kB / 0.9845 GB, free: 8.574 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.819e-06/0.005913, allocations: 0 / 0.9845 GB, free: 8.574 MB / 0.9356 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 0.000134/0.006047, allocations: 201 kB / 0.9847 GB, free: 8.367 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.988e-05/0.006127, allocations: 108.9 kB / 0.9848 GB, free: 8.254 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.29e-05/0.0062, allocations: 104.5 kB / 0.9849 GB, free: 8.148 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.175e-05/0.006292, allocations: 180.3 kB / 0.9851 GB, free: 7.965 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.614e-05/0.006388, allocations: 188.2 kB / 0.9853 GB, free: 7.773 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.776e-05/0.006476, allocations: 176.3 kB / 0.9854 GB, free: 7.594 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002877/0.006763, allocations: 380.8 kB / 0.9858 GB, free: 7.184 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.746e-05/0.006811, allocations: 105 kB / 0.9859 GB, free: 7.074 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.497e-05/0.006866, allocations: 101 kB / 0.986 GB, free: 6.969 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001029/0.006969, allocations: 192.2 kB / 0.9862 GB, free: 6.773 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.57e-05/0.007055, allocations: 176.3 kB / 0.9863 GB, free: 6.594 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.742e-05/0.007142, allocations: 180.2 kB / 0.9865 GB, free: 6.41 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.268e-05/0.007225, allocations: 180.5 kB / 0.9867 GB, free: 6.227 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001888/0.007413, allocations: 311.7 kB / 0.987 GB, free: 5.898 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.861e-05/0.007472, allocations: 112.9 kB / 0.9871 GB, free: 5.781 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.749e-05/0.00757, allocations: 184.1 kB / 0.9873 GB, free: 5.594 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.331e-05/0.007663, allocations: 101 kB / 0.9874 GB, free: 5.488 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.209e-05/0.007755, allocations: 184.2 kB / 0.9875 GB, free: 5.301 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001397/0.007895, allocations: 109 kB / 0.9876 GB, free: 5.188 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 8.265e-05/0.007977, allocations: 99.27 kB / 0.9877 GB, free: 5.09 MB / 0.9356 GB Notification: Performance of sort global known variables: time 7.1e-08/0.007977, allocations: 0 / 0.9877 GB, free: 5.09 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002212/0.008199, allocations: 7.938 kB / 0.9878 GB, free: 5.082 MB / 0.9356 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 0.000231/0.00843, allocations: 170.5 kB / 0.9879 GB, free: 4.902 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 7.708e-05/0.008507, allocations: 11.98 kB / 0.9879 GB, free: 4.891 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.008509, allocations: 4 kB / 0.9879 GB, free: 4.887 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 3.937e-06/0.008513, allocations: 3.938 kB / 0.9879 GB, free: 4.883 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005406/0.009053, allocations: 459.7 kB / 0.9884 GB, free: 4.43 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003541/0.009408, allocations: 208.1 kB / 0.9886 GB, free: 4.199 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.047e-05/0.009498, allocations: 79.33 kB / 0.9886 GB, free: 4.102 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.185e-05/0.00952, allocations: 4 kB / 0.9886 GB, free: 4.098 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.64e-05/0.009546, allocations: 8.5 kB / 0.9887 GB, free: 4.09 MB / 0.9356 GB Notification: Performance of SimCode: time 3.51e-07/0.009547, allocations: 0 / 0.9887 GB, free: 4.09 MB / 0.9356 GB Notification: Performance of Templates: time 0.002855/0.0124, allocations: 305.4 kB / 0.9889 GB, free: 3.797 MB / 0.9356 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: 8.178595911711454]