Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.1..y|con.2..y|con.3..y|con.4..y|con.5..y|maxVal.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.1..y|con.2..y|con.3..y|con.4..y|con.5..y|maxVal.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001066/0.001066, allocations: 107.8 kB / 16.27 MB, free: 6.414 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001025/0.001025, allocations: 189.8 kB / 17.2 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.354/1.354, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.487/2.487, allocations: 437 MB / 0.711 GB, free: 4.492 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00154/0.001541, allocations: 64.53 kB / 0.8699 GB, free: 2.172 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2789/0.2805, allocations: 151.6 MB / 1.018 GB, free: 10.62 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax): time 0.002093/0.2826, allocations: 0.6563 MB / 1.019 GB, free: 9.965 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0001531/0.2828, allocations: 15.92 kB / 1.019 GB, free: 9.949 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.295e-05/0.2829, allocations: 0 / 1.019 GB, free: 9.949 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 9.944e-05/0.283, allocations: 3.938 kB / 1.019 GB, free: 9.945 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 3.6e-05/0.283, allocations: 8 kB / 1.019 GB, free: 9.938 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 7.062e-05/0.2831, allocations: 0 / 1.019 GB, free: 9.938 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 9.019e-05/0.2832, allocations: 27.92 kB / 1.019 GB, free: 9.91 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001568/0.2834, allocations: 27.98 kB / 1.019 GB, free: 9.883 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 3.709e-05/0.2834, allocations: 19.92 kB / 1.019 GB, free: 9.863 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 3.206e-05/0.2835, allocations: 11.94 kB / 1.019 GB, free: 9.852 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.899e-05/0.2835, allocations: 3.984 kB / 1.019 GB, free: 9.848 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.268e-05/0.2835, allocations: 4 kB / 1.019 GB, free: 9.844 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 3.535e-05/0.2835, allocations: 15.92 kB / 1.019 GB, free: 9.828 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 4.215e-05/0.2836, allocations: 23.88 kB / 1.019 GB, free: 9.805 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 9.361e-05/0.2837, allocations: 39.88 kB / 1.019 GB, free: 9.766 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.2837, allocations: 4 kB / 1.019 GB, free: 9.762 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.242e-06/0.2837, allocations: 0 / 1.019 GB, free: 9.762 MB / 0.795 GB Notification: Performance of Transformations before backend: time 7.845e-06/0.2837, allocations: 0 / 1.019 GB, free: 9.762 MB / 0.795 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.0003572/0.2841, allocations: 355.5 kB / 1.019 GB, free: 9.363 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.068e-05/0.2841, allocations: 12.03 kB / 1.019 GB, free: 9.352 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.776e-05/0.2842, allocations: 4.844 kB / 1.019 GB, free: 9.348 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000199/0.2844, allocations: 180.4 kB / 1.019 GB, free: 9.133 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.374e-05/0.2844, allocations: 8.375 kB / 1.019 GB, free: 9.125 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.308e-05/0.2844, allocations: 8.375 kB / 1.019 GB, free: 9.117 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001689/0.2846, allocations: 78.16 kB / 1.019 GB, free: 9.035 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/0.2846, allocations: 192 / 1.019 GB, free: 9.035 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.241e-05/0.2846, allocations: 3.938 kB / 1.019 GB, free: 9.031 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.406e-06/0.2846, allocations: 4 kB / 1.019 GB, free: 9.027 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.899e-05/0.2847, allocations: 51.91 kB / 1.019 GB, free: 8.977 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006245/0.2854, allocations: 491 kB / 1.02 GB, free: 8.445 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 9.881e-05/0.2855, allocations: 169.1 kB / 1.02 GB, free: 8.27 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.982e-05/0.2855, allocations: 84.14 kB / 1.02 GB, free: 8.184 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 3.873e-05/0.2856, allocations: 75.28 kB / 1.02 GB, free: 8.109 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.872e-05/0.2856, allocations: 105.8 kB / 1.02 GB, free: 7.996 MB / 0.795 GB Notification: Performance of pre-optimization done (n=0): time 1.182e-06/0.2857, allocations: 0 / 1.02 GB, free: 7.996 MB / 0.795 GB Notification: Performance of matching and sorting (n=0): time 0.0001036/0.2858, allocations: 41.55 kB / 1.02 GB, free: 7.949 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.004e-05/0.2858, allocations: 130.7 kB / 1.021 GB, free: 7.809 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001867/0.286, allocations: 169.7 kB / 1.021 GB, free: 7.633 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.357e-05/0.2861, allocations: 29.7 kB / 1.021 GB, free: 7.598 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 6.684e-05/0.2861, allocations: 92.05 kB / 1.021 GB, free: 7.504 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 1.046e-05/0.2861, allocations: 4 kB / 1.021 GB, free: 7.5 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.704e-05/0.2862, allocations: 17.7 kB / 1.021 GB, free: 7.477 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001311/0.2863, allocations: 318.8 kB / 1.021 GB, free: 7.156 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.39e-05/0.2864, allocations: 11.98 kB / 1.021 GB, free: 7.145 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.35e-05/0.2864, allocations: 4 kB / 1.021 GB, free: 7.141 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.334e-05/0.2864, allocations: 20.78 kB / 1.021 GB, free: 7.117 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.2864, allocations: 0 / 1.021 GB, free: 7.117 MB / 0.795 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001405/0.2866, allocations: 53.59 kB / 1.021 GB, free: 7.059 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/0.2866, allocations: 4 kB / 1.021 GB, free: 7.055 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.2866, allocations: 0 / 1.021 GB, free: 7.055 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.978e-05/0.2866, allocations: 4.094 kB / 1.021 GB, free: 7.051 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.623e-05/0.2867, allocations: 4 kB / 1.021 GB, free: 7.047 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.42e-05/0.2867, allocations: 11.92 kB / 1.021 GB, free: 7.035 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.224e-05/0.2868, allocations: 7.938 kB / 1.021 GB, free: 7.027 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.802e-05/0.2868, allocations: 4 kB / 1.021 GB, free: 7.023 MB / 0.795 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.0001162/0.2869, allocations: 189.1 kB / 1.021 GB, free: 6.828 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.416e-05/0.287, allocations: 116.8 kB / 1.022 GB, free: 6.707 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.575e-05/0.2871, allocations: 112.8 kB / 1.022 GB, free: 6.59 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.829e-05/0.2872, allocations: 180.3 kB / 1.022 GB, free: 6.406 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.938e-05/0.2872, allocations: 188.1 kB / 1.022 GB, free: 6.215 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.618e-05/0.2873, allocations: 181.8 kB / 1.022 GB, free: 6.031 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002492/0.2876, allocations: 421.1 kB / 1.023 GB, free: 5.562 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.173e-05/0.2876, allocations: 101 kB / 1.023 GB, free: 5.457 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.296e-05/0.2876, allocations: 105 kB / 1.023 GB, free: 5.348 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.344e-05/0.2877, allocations: 184.3 kB / 1.023 GB, free: 5.16 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.077e-05/0.2878, allocations: 188.2 kB / 1.023 GB, free: 4.969 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.114e-05/0.2878, allocations: 184.2 kB / 1.023 GB, free: 4.781 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.881e-05/0.2879, allocations: 180.2 kB / 1.023 GB, free: 4.598 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001369/0.288, allocations: 315.8 kB / 1.024 GB, free: 4.266 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 7.768e-05/0.2881, allocations: 182 kB / 1.024 GB, free: 4.062 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.178e-05/0.2882, allocations: 188.1 kB / 1.024 GB, free: 3.871 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.611e-05/0.2883, allocations: 101.3 kB / 1.024 GB, free: 3.766 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.032e-05/0.2884, allocations: 192.1 kB / 1.024 GB, free: 3.57 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.58e-05/0.2884, allocations: 113 kB / 1.025 GB, free: 3.453 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0001028/0.2885, allocations: 129.6 kB / 1.025 GB, free: 3.328 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2885, allocations: 0 / 1.025 GB, free: 3.328 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002289/0.2888, allocations: 8 kB / 1.025 GB, free: 3.32 MB / 0.795 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.0001595/0.2889, allocations: 174.5 kB / 1.025 GB, free: 3.137 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 6.212e-05/0.289, allocations: 4 kB / 1.025 GB, free: 3.133 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.289, allocations: 0 / 1.025 GB, free: 3.133 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 5.851e-06/0.289, allocations: 15.98 kB / 1.025 GB, free: 3.117 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004286/0.2895, allocations: 457.6 kB / 1.025 GB, free: 2.668 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003268/0.2898, allocations: 245.9 kB / 1.026 GB, free: 2.395 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002395/0.29, allocations: 0.6924 MB / 1.026 GB, free: 1.676 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.814e-05/0.2901, allocations: 11.44 kB / 1.026 GB, free: 1.664 MB / 0.795 GB Notification: Performance of SimCode: time 8.01e-07/0.2901, allocations: 0 / 1.026 GB, free: 1.664 MB / 0.795 GB Notification: Performance of Templates: time 0.002029/0.2921, allocations: 0.7613 MB / 1.027 GB, free: 0.9023 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_MultiMax.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches