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.001931/0.001931, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002442/0.002442, allocations: 193 kB / 16.25 MB, free: 6.629 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.516/1.516, allocations: 222.9 MB / 239.9 MB, free: 4.555 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.774/2.774, allocations: 437 MB / 0.7101 GB, free: 5.262 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002016/0.002016, allocations: 71.89 kB / 0.8688 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7205/0.7225, allocations: 151.6 MB / 1.017 GB, free: 2.691 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMax): time 0.002135/0.7247, allocations: 0.7239 MB / 1.018 GB, free: 1.969 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0001572/0.7249, allocations: 11.98 kB / 1.018 GB, free: 1.957 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.545e-05/0.7249, allocations: 3.938 kB / 1.018 GB, free: 1.953 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0001182/0.7251, allocations: 0 / 1.018 GB, free: 1.953 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 3.684e-05/0.7251, allocations: 0 / 1.018 GB, free: 1.953 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 8.151e-05/0.7252, allocations: 4 kB / 1.018 GB, free: 1.949 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.000109/0.7253, allocations: 23.92 kB / 1.018 GB, free: 1.926 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000162/0.7255, allocations: 35.98 kB / 1.018 GB, free: 1.891 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 3.055e-05/0.7255, allocations: 11.92 kB / 1.018 GB, free: 1.879 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 3.865e-05/0.7256, allocations: 19.92 kB / 1.018 GB, free: 1.859 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.039e-05/0.7256, allocations: 8 kB / 1.018 GB, free: 1.852 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.34e-05/0.7256, allocations: 4 kB / 1.018 GB, free: 1.848 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 3.145e-05/0.7256, allocations: 7.938 kB / 1.018 GB, free: 1.84 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 4.384e-05/0.7257, allocations: 23.86 kB / 1.018 GB, free: 1.816 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.000102/0.7258, allocations: 43.88 kB / 1.018 GB, free: 1.773 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.7258, allocations: 0 / 1.018 GB, free: 1.773 MB / 0.7637 GB Notification: Performance of FrontEnd: time 2.304e-06/0.7258, allocations: 0 / 1.018 GB, free: 1.773 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 5.23e-06/0.7258, allocations: 0 / 1.018 GB, free: 1.773 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.0004375/0.7263, allocations: 357.3 kB / 1.018 GB, free: 1.375 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.806e-05/0.7263, allocations: 11.97 kB / 1.018 GB, free: 1.363 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.306e-05/0.7263, allocations: 12.84 kB / 1.018 GB, free: 1.352 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001966/0.7265, allocations: 180.2 kB / 1.018 GB, free: 1.137 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.271e-05/0.7266, allocations: 4.375 kB / 1.018 GB, free: 1.133 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.251e-05/0.7266, allocations: 4.375 kB / 1.018 GB, free: 1.129 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001722/0.7268, allocations: 78.22 kB / 1.018 GB, free: 1.047 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.709e-06/0.7268, allocations: 192 / 1.018 GB, free: 1.047 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.368e-05/0.7268, allocations: 7.938 kB / 1.018 GB, free: 1.039 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.7268, allocations: 0 / 1.018 GB, free: 1.039 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.823e-05/0.7269, allocations: 43.97 kB / 1.018 GB, free: 0.9961 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006316/0.7275, allocations: 495 kB / 1.019 GB, free: 472 kB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 9.818e-05/0.7276, allocations: 165.2 kB / 1.019 GB, free: 296 kB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.123e-05/0.7277, allocations: 84.08 kB / 1.019 GB, free: 208 kB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 3.478e-05/0.7277, allocations: 79.22 kB / 1.019 GB, free: 128 kB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.156e-05/0.7278, allocations: 109.8 kB / 1.019 GB, free: 8 kB / 0.7637 GB Notification: Performance of pre-optimization done (n=0): time 9.32e-07/0.7278, allocations: 0 / 1.019 GB, free: 8 kB / 0.7637 GB Notification: Performance of matching and sorting (n=0): time 0.0001053/0.7279, allocations: 37.78 kB / 1.019 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.573e-05/0.728, allocations: 126.7 kB / 1.019 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001803/0.7282, allocations: 179.9 kB / 1.02 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.366e-05/0.7282, allocations: 25.7 kB / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.954e-05/0.7283, allocations: 96.05 kB / 1.02 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.786e-06/0.7283, allocations: 0 / 1.02 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.159e-05/0.7283, allocations: 17.72 kB / 1.02 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001435/0.7284, allocations: 318.8 kB / 1.02 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.809e-05/0.7285, allocations: 4 kB / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.661e-05/0.7285, allocations: 11.92 kB / 1.02 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.949e-05/0.7285, allocations: 20.84 kB / 1.02 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.7285, allocations: 0 / 1.02 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000127/0.7287, allocations: 45.69 kB / 1.02 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.803e-05/0.7287, allocations: 12.09 kB / 1.02 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.551e-06/0.7287, allocations: 0 / 1.02 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/0.7287, allocations: 0 / 1.02 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.285e-05/0.7288, allocations: 4 kB / 1.02 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.595e-06/0.7288, allocations: 3.938 kB / 1.02 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.714e-05/0.7288, allocations: 7.906 kB / 1.02 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.079e-05/0.7289, allocations: 0 / 1.02 GB, free: 15.05 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.0001281/0.729, allocations: 197.1 kB / 1.02 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.141e-05/0.7291, allocations: 112.8 kB / 1.02 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.025e-05/0.7291, allocations: 112.8 kB / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.45e-05/0.7292, allocations: 180.2 kB / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.144e-05/0.7293, allocations: 192.2 kB / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.765e-05/0.7294, allocations: 176.3 kB / 1.021 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002957/0.7297, allocations: 437 kB / 1.021 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.54e-05/0.7298, allocations: 101 kB / 1.022 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.402e-05/0.7298, allocations: 112.9 kB / 1.022 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.169e-05/0.7299, allocations: 176.3 kB / 1.022 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.58e-05/0.73, allocations: 176.3 kB / 1.022 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.734e-05/0.7301, allocations: 184.2 kB / 1.022 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.758e-05/0.7302, allocations: 192.1 kB / 1.022 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001942/0.7304, allocations: 303.8 kB / 1.023 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001128/0.7305, allocations: 193.9 kB / 1.023 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001071/0.7307, allocations: 180.3 kB / 1.023 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.89e-05/0.7308, allocations: 105 kB / 1.023 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.101e-05/0.7309, allocations: 188.1 kB / 1.023 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.099e-05/0.7309, allocations: 101.3 kB / 1.023 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001218/0.731, allocations: 131.2 kB / 1.024 GB, free: 11.35 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.7311, allocations: 0 / 1.024 GB, free: 11.35 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002495/0.7313, allocations: 8 kB / 1.024 GB, free: 11.34 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.0002446/0.7316, allocations: 175 kB / 1.024 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 8.923e-05/0.7317, allocations: 15.94 kB / 1.024 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.7317, allocations: 0 / 1.024 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 3.958e-06/0.7317, allocations: 4 kB / 1.024 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006086/0.7323, allocations: 461.2 kB / 1.024 GB, free: 10.69 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003946/0.7327, allocations: 228.4 kB / 1.024 GB, free: 10.44 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004409/0.7331, allocations: 0.6885 MB / 1.025 GB, free: 9.723 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.299e-05/0.7332, allocations: 8 kB / 1.025 GB, free: 9.715 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.583e-05/0.7332, allocations: 7.438 kB / 1.025 GB, free: 9.707 MB / 0.7794 GB Notification: Performance of SimCode: time 3.4e-07/0.7332, allocations: 0 / 1.025 GB, free: 9.707 MB / 0.7794 GB Notification: Performance of Templates: time 0.003419/0.7367, allocations: 482.8 kB / 1.026 GB, free: 9.238 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