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.002019/0.002019, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002226/0.002226, allocations: 196.3 kB / 16.53 MB, free: 6.664 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.572/1.572, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.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.766/2.766, allocations: 437 MB / 0.7104 GB, free: 5.094 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001989/0.00199, allocations: 63.91 kB / 0.8692 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7323/0.7343, allocations: 151.6 MB / 1.017 GB, free: 2.535 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax): time 0.002221/0.7365, allocations: 0.6474 MB / 1.018 GB, free: 1.887 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0001627/0.7367, allocations: 7.922 kB / 1.018 GB, free: 1.879 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.056e-05/0.7368, allocations: 4 kB / 1.018 GB, free: 1.875 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0001001/0.7369, allocations: 7.984 kB / 1.018 GB, free: 1.867 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 3.673e-05/0.737, allocations: 7.938 kB / 1.018 GB, free: 1.859 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 7.08e-05/0.737, allocations: 0 / 1.018 GB, free: 1.859 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 9.476e-05/0.7371, allocations: 23.98 kB / 1.018 GB, free: 1.836 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001555/0.7373, allocations: 27.98 kB / 1.018 GB, free: 1.809 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 3.05e-05/0.7373, allocations: 15.94 kB / 1.018 GB, free: 1.793 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 3.985e-05/0.7374, allocations: 19.91 kB / 1.018 GB, free: 1.773 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.874e-05/0.7374, allocations: 4 kB / 1.018 GB, free: 1.77 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.231e-05/0.7374, allocations: 0 / 1.018 GB, free: 1.77 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 5.339e-05/0.7375, allocations: 11.94 kB / 1.018 GB, free: 1.758 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 4.456e-05/0.7375, allocations: 19.88 kB / 1.018 GB, free: 1.738 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001065/0.7376, allocations: 47.81 kB / 1.018 GB, free: 1.691 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.7377, allocations: 4 kB / 1.018 GB, free: 1.688 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.463e-06/0.7377, allocations: 4 kB / 1.018 GB, free: 1.684 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 1.113e-05/0.7377, allocations: 0 / 1.018 GB, free: 1.684 MB / 0.7637 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.0004512/0.7381, allocations: 357.3 kB / 1.018 GB, free: 1.285 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.273e-05/0.7382, allocations: 8.031 kB / 1.018 GB, free: 1.277 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.579e-05/0.7382, allocations: 8.844 kB / 1.019 GB, free: 1.27 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002011/0.7384, allocations: 180.3 kB / 1.019 GB, free: 1.055 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.526e-05/0.7385, allocations: 4.375 kB / 1.019 GB, free: 1.051 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.564e-05/0.7385, allocations: 8.375 kB / 1.019 GB, free: 1.043 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000171/0.7387, allocations: 78.22 kB / 1.019 GB, free: 0.9609 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.7387, allocations: 4.125 kB / 1.019 GB, free: 0.957 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.241e-05/0.7387, allocations: 7.938 kB / 1.019 GB, free: 0.9492 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-06/0.7387, allocations: 0 / 1.019 GB, free: 0.9492 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.735e-05/0.7388, allocations: 51.91 kB / 1.019 GB, free: 0.8984 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005624/0.7394, allocations: 487 kB / 1.019 GB, free: 380 kB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001094/0.7395, allocations: 177.1 kB / 1.019 GB, free: 192 kB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.264e-05/0.7395, allocations: 80.14 kB / 1.02 GB, free: 108 kB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 3.241e-05/0.7396, allocations: 75.28 kB / 1.02 GB, free: 32 kB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.616e-05/0.7397, allocations: 105.8 kB / 1.02 GB, free: 15.92 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 1.283e-06/0.7397, allocations: 0 / 1.02 GB, free: 15.92 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 9.533e-05/0.7398, allocations: 41.53 kB / 1.02 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.408e-05/0.7399, allocations: 130.7 kB / 1.02 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001882/0.7401, allocations: 179.6 kB / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.522e-05/0.7401, allocations: 25.7 kB / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.854e-05/0.7402, allocations: 100 kB / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.456e-06/0.7402, allocations: 0 / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.283e-05/0.7402, allocations: 13.72 kB / 1.02 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000137/0.7404, allocations: 318.8 kB / 1.02 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.697e-05/0.7404, allocations: 4 kB / 1.02 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.798e-05/0.7404, allocations: 11.98 kB / 1.02 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.593e-05/0.7404, allocations: 16.86 kB / 1.021 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.7405, allocations: 0 / 1.021 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001387/0.7406, allocations: 53.61 kB / 1.021 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/0.7406, allocations: 4 kB / 1.021 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.7406, allocations: 4 kB / 1.021 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.315e-05/0.7407, allocations: 0 / 1.021 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.858e-05/0.7407, allocations: 0 / 1.021 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.226e-06/0.7407, allocations: 3.938 kB / 1.021 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.809e-05/0.7408, allocations: 12 kB / 1.021 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.227e-06/0.7408, allocations: 4 kB / 1.021 GB, free: 14.95 MB / 0.7794 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.0001289/0.7409, allocations: 193.1 kB / 1.021 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.14e-05/0.741, allocations: 108.9 kB / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.95e-05/0.7411, allocations: 116.8 kB / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.32e-05/0.7411, allocations: 180.3 kB / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.533e-05/0.7412, allocations: 192.1 kB / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.691e-05/0.7413, allocations: 180.3 kB / 1.022 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000285/0.7416, allocations: 413.2 kB / 1.022 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.944e-05/0.7417, allocations: 108.9 kB / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.703e-05/0.7417, allocations: 105 kB / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.716e-05/0.7418, allocations: 184.2 kB / 1.022 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.75e-05/0.7419, allocations: 180.4 kB / 1.022 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.049e-05/0.742, allocations: 180.2 kB / 1.023 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.843e-05/0.7421, allocations: 192.1 kB / 1.023 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001783/0.7423, allocations: 307.8 kB / 1.023 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 9.891e-05/0.7424, allocations: 190 kB / 1.023 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.11e-05/0.7425, allocations: 184.2 kB / 1.023 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.71e-05/0.7426, allocations: 108.9 kB / 1.024 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.768e-05/0.7427, allocations: 184.2 kB / 1.024 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.685e-05/0.7427, allocations: 108.9 kB / 1.024 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001184/0.7428, allocations: 132.6 kB / 1.024 GB, free: 11.26 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.41e-07/0.7428, allocations: 4 kB / 1.024 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002304/0.7431, allocations: 4 kB / 1.024 GB, free: 11.25 MB / 0.7794 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.0001783/0.7433, allocations: 174.5 kB / 1.024 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 7.594e-05/0.7433, allocations: 11.98 kB / 1.024 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.7434, allocations: 0 / 1.024 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 2.494e-06/0.7434, allocations: 0 / 1.024 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005145/0.7439, allocations: 463.8 kB / 1.025 GB, free: 10.6 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003555/0.7442, allocations: 216.6 kB / 1.025 GB, free: 10.36 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003844/0.7446, allocations: 0.6924 MB / 1.025 GB, free: 9.641 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.179e-05/0.7447, allocations: 11.91 kB / 1.026 GB, free: 9.629 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.684e-05/0.7447, allocations: 11.44 kB / 1.026 GB, free: 9.617 MB / 0.7794 GB Notification: Performance of SimCode: time 4.21e-07/0.7447, allocations: 0 / 1.026 GB, free: 9.617 MB / 0.7794 GB Notification: Performance of Templates: time 0.002852/0.7476, allocations: 470.1 kB / 1.026 GB, free: 9.16 MB / 0.7794 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=400 -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/jenkins/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