Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.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.001336/0.001336, allocations: 78.72 kB / 19.18 MB, free: 2.527 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.001537/0.001537, allocations: 165.4 kB / 22.46 MB, free: 5.363 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.511/1.511, allocations: 177.1 MB / 202.8 MB, free: 9.176 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.86/2.86, allocations: 377.8 MB / 0.6221 GB, free: 12.59 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.MultiMax,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.1..y|con.2..y|con.3..y|con.4..y|con.5..y|maxVal.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.1..y|con.2..y|con.3..y|con.4..y|con.5..y|maxVal.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.415e-06/2.415e-06, allocations: 0 / 0.9815 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.801e-05/3.043e-05, allocations: 5.375 kB / 0.9815 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax): time 0.001648/0.001678, allocations: 0.6678 MB / 0.9821 GB, free: 11.23 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.000154/0.001832, allocations: 11.92 kB / 0.9822 GB, free: 11.22 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.709e-05/0.00188, allocations: 0 / 0.9822 GB, free: 11.22 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001048/0.001984, allocations: 7.938 kB / 0.9822 GB, free: 11.21 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 3.587e-05/0.00202, allocations: 3.938 kB / 0.9822 GB, free: 11.21 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 7.225e-05/0.002093, allocations: 0 / 0.9822 GB, free: 11.21 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 9.524e-05/0.002188, allocations: 27.92 kB / 0.9822 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000156/0.002344, allocations: 23.97 kB / 0.9822 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 4.229e-05/0.002386, allocations: 15.98 kB / 0.9822 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 3.914e-05/0.002425, allocations: 19.92 kB / 0.9823 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.114e-05/0.002446, allocations: 4 kB / 0.9823 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.391e-05/0.00246, allocations: 4 kB / 0.9823 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 3.261e-05/0.002493, allocations: 8 kB / 0.9823 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.412e-05/0.002527, allocations: 15.91 kB / 0.9823 GB, free: 11.09 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001092/0.002636, allocations: 51.73 kB / 0.9823 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 1.974e-06/0.002638, allocations: 0 / 0.9823 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of FrontEnd: time 7.01e-07/0.002639, allocations: 4 kB / 0.9823 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.719e-06/0.002644, allocations: 0 / 0.9823 GB, free: 11.04 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.000357/0.003001, allocations: 274.2 kB / 0.9826 GB, free: 10.74 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.939e-05/0.00304, allocations: 16.03 kB / 0.9826 GB, free: 10.72 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.995e-05/0.00307, allocations: 4.891 kB / 0.9826 GB, free: 10.72 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001611/0.003231, allocations: 129.7 kB / 0.9827 GB, free: 10.57 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.035e-05/0.003241, allocations: 384 / 0.9827 GB, free: 10.57 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.684e-05/0.003258, allocations: 8.375 kB / 0.9827 GB, free: 10.56 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000163/0.003421, allocations: 82.16 kB / 0.9828 GB, free: 10.47 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-06/0.00343, allocations: 4.188 kB / 0.9828 GB, free: 10.47 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.047e-06/0.003439, allocations: 384 / 0.9828 GB, free: 10.47 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.349e-06/0.003443, allocations: 384 / 0.9828 GB, free: 10.47 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.882e-05/0.003522, allocations: 55.84 kB / 0.9829 GB, free: 10.41 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004435/0.003966, allocations: 406.9 kB / 0.9833 GB, free: 9.984 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001007/0.004066, allocations: 169.1 kB / 0.9834 GB, free: 9.809 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.845e-05/0.004105, allocations: 84.14 kB / 0.9835 GB, free: 9.723 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 3.529e-05/0.00414, allocations: 79.28 kB / 0.9836 GB, free: 9.645 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.59e-05/0.004196, allocations: 105.8 kB / 0.9837 GB, free: 9.531 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=0): time 9.22e-07/0.004197, allocations: 0 / 0.9837 GB, free: 9.531 MB / 0.9356 GB Notification: Performance of matching and sorting (n=0): time 7.38e-05/0.004271, allocations: 37.62 kB / 0.9837 GB, free: 9.488 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.882e-05/0.00434, allocations: 126.7 kB / 0.9838 GB, free: 9.352 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001273/0.004467, allocations: 117.8 kB / 0.984 GB, free: 9.227 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.583e-05/0.004483, allocations: 25.7 kB / 0.984 GB, free: 9.195 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 7.302e-05/0.004556, allocations: 104 kB / 0.9841 GB, free: 9.09 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.426e-06/0.004559, allocations: 4 kB / 0.9841 GB, free: 9.086 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.024e-05/0.004589, allocations: 13.72 kB / 0.9841 GB, free: 9.066 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001426/0.004732, allocations: 322.8 kB / 0.9844 GB, free: 8.742 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.634e-05/0.004748, allocations: 4 kB / 0.9844 GB, free: 8.738 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.281e-05/0.004761, allocations: 11.98 kB / 0.9844 GB, free: 8.727 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.845e-05/0.0048, allocations: 16.8 kB / 0.9844 GB, free: 8.707 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.004801, allocations: 0 / 0.9844 GB, free: 8.707 MB / 0.9356 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001189/0.00492, allocations: 53.62 kB / 0.9845 GB, free: 8.648 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.004934, allocations: 8 kB / 0.9845 GB, free: 8.641 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.004938, allocations: 96 / 0.9845 GB, free: 8.641 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.375e-05/0.004952, allocations: 4 kB / 0.9845 GB, free: 8.637 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.001e-05/0.005002, allocations: 0 / 0.9845 GB, free: 8.637 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.318e-06/0.005006, allocations: 4 kB / 0.9845 GB, free: 8.633 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.854e-05/0.005025, allocations: 0 / 0.9845 GB, free: 8.633 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.321e-05/0.005038, allocations: 4 kB / 0.9845 GB, free: 8.629 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.0001121/0.00515, allocations: 197.2 kB / 0.9847 GB, free: 8.426 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.897e-05/0.005219, allocations: 116.8 kB / 0.9848 GB, free: 8.305 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.379e-05/0.005273, allocations: 108.4 kB / 0.9849 GB, free: 8.195 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.045e-05/0.005343, allocations: 180.3 kB / 0.9851 GB, free: 8.012 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.689e-05/0.00542, allocations: 184.2 kB / 0.9853 GB, free: 7.824 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.837e-05/0.005488, allocations: 180.3 kB / 0.9854 GB, free: 7.641 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002351/0.005724, allocations: 376.8 kB / 0.9858 GB, free: 7.234 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.531e-05/0.005769, allocations: 105 kB / 0.9859 GB, free: 7.125 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.337e-05/0.005812, allocations: 101 kB / 0.986 GB, free: 7.02 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.521e-05/0.005887, allocations: 188.2 kB / 0.9862 GB, free: 6.828 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.025e-05/0.005978, allocations: 176.3 kB / 0.9863 GB, free: 6.648 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.959e-05/0.006047, allocations: 180.2 kB / 0.9865 GB, free: 6.465 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.238e-05/0.00612, allocations: 184.5 kB / 0.9867 GB, free: 6.277 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001604/0.00628, allocations: 311.7 kB / 0.987 GB, free: 5.949 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.332e-05/0.006333, allocations: 112.9 kB / 0.9871 GB, free: 5.832 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.693e-05/0.00642, allocations: 188.2 kB / 0.9873 GB, free: 5.641 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.933e-05/0.00651, allocations: 109 kB / 0.9874 GB, free: 5.527 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.77e-05/0.006587, allocations: 180.2 kB / 0.9875 GB, free: 5.344 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.041e-05/0.006638, allocations: 101 kB / 0.9876 GB, free: 5.238 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 6.556e-05/0.006703, allocations: 99.58 kB / 0.9877 GB, free: 5.141 MB / 0.9356 GB Notification: Performance of sort global known variables: time 9.1e-08/0.006703, allocations: 0 / 0.9877 GB, free: 5.141 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002199/0.006923, allocations: 11.94 kB / 0.9877 GB, free: 5.129 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.0001447/0.007068, allocations: 170.5 kB / 0.9879 GB, free: 4.949 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 6.973e-05/0.007138, allocations: 12 kB / 0.9879 GB, free: 4.938 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.007139, allocations: 4.062 kB / 0.9879 GB, free: 4.934 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 3.125e-06/0.007142, allocations: 3.938 kB / 0.9879 GB, free: 4.93 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004514/0.007594, allocations: 462 kB / 0.9884 GB, free: 4.477 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003061/0.0079, allocations: 208.1 kB / 0.9886 GB, free: 4.246 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.154e-05/0.007971, allocations: 75.33 kB / 0.9886 GB, free: 4.152 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.418e-05/0.007996, allocations: 4 kB / 0.9886 GB, free: 4.148 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.565e-05/0.008021, allocations: 8.5 kB / 0.9887 GB, free: 4.141 MB / 0.9356 GB Notification: Performance of SimCode: time 3.5e-07/0.008022, allocations: 0 / 0.9887 GB, free: 4.141 MB / 0.9356 GB Notification: Performance of Templates: time 0.00262/0.01064, allocations: 311.9 kB / 0.9889 GB, free: 3.844 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_MultiMax.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.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.170256182551384]