Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.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.MultiMin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.1..y|con.2..y|con.3..y|con.4..y|con.5..y|minVal.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.1..y|con.2..y|con.3..y|con.4..y|con.5..y|minVal.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001296/0.001296, allocations: 102.9 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.001294/0.001294, allocations: 189.7 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.428/1.428, 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.536/2.536, allocations: 437.1 MB / 0.711 GB, free: 4.527 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001931/0.001931, allocations: 67.77 kB / 0.8699 GB, free: 2.199 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3152/0.3171, allocations: 151.6 MB / 1.018 GB, free: 10.63 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin): time 0.00214/0.3193, allocations: 0.6529 MB / 1.019 GB, free: 9.977 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.000177/0.3195, allocations: 15.97 kB / 1.019 GB, free: 9.961 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.17e-05/0.3196, allocations: 3.938 kB / 1.019 GB, free: 9.957 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 9.659e-05/0.3197, allocations: 0 / 1.019 GB, free: 9.957 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 4.073e-05/0.3197, allocations: 0 / 1.019 GB, free: 9.957 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 8.983e-05/0.3198, allocations: 15.94 kB / 1.019 GB, free: 9.941 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.000116/0.3199, allocations: 35.97 kB / 1.019 GB, free: 9.906 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000141/0.3201, allocations: 27.98 kB / 1.019 GB, free: 9.879 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 2.862e-05/0.3201, allocations: 11.94 kB / 1.019 GB, free: 9.867 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 3.573e-05/0.3202, allocations: 19.91 kB / 1.019 GB, free: 9.848 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.623e-05/0.3202, allocations: 4 kB / 1.019 GB, free: 9.844 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.467e-05/0.3202, allocations: 4 kB / 1.019 GB, free: 9.84 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 3.472e-05/0.3202, allocations: 11.94 kB / 1.019 GB, free: 9.828 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 3.803e-05/0.3203, allocations: 19.88 kB / 1.019 GB, free: 9.809 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001032/0.3204, allocations: 39.88 kB / 1.019 GB, free: 9.77 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.3204, allocations: 0 / 1.019 GB, free: 9.77 MB / 0.795 GB Notification: Performance of FrontEnd: time 3.446e-06/0.3204, allocations: 4 kB / 1.019 GB, free: 9.766 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.079e-06/0.3204, allocations: 7.938 kB / 1.019 GB, free: 9.758 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.0004177/0.3208, allocations: 355.6 kB / 1.019 GB, free: 9.359 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.91e-05/0.3209, allocations: 12.62 kB / 1.019 GB, free: 9.348 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.182e-05/0.3209, allocations: 8.844 kB / 1.019 GB, free: 9.34 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001926/0.3211, allocations: 180.3 kB / 1.019 GB, free: 9.125 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.274e-05/0.3212, allocations: 4.375 kB / 1.019 GB, free: 9.121 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.561e-05/0.3212, allocations: 8.375 kB / 1.019 GB, free: 9.113 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001649/0.3213, allocations: 70.23 kB / 1.019 GB, free: 9.039 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.3214, allocations: 8.125 kB / 1.019 GB, free: 9.031 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.187e-05/0.3214, allocations: 3.938 kB / 1.019 GB, free: 9.027 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.172e-06/0.3214, allocations: 4 kB / 1.019 GB, free: 9.023 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.716e-05/0.3215, allocations: 59.88 kB / 1.02 GB, free: 8.965 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005503/0.322, allocations: 483.1 kB / 1.02 GB, free: 8.441 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001034/0.3222, allocations: 169.1 kB / 1.02 GB, free: 8.266 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.818e-05/0.3222, allocations: 84.14 kB / 1.02 GB, free: 8.18 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 4.063e-05/0.3222, allocations: 75.28 kB / 1.02 GB, free: 8.105 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.158e-05/0.3223, allocations: 113.8 kB / 1.02 GB, free: 7.984 MB / 0.795 GB Notification: Performance of pre-optimization done (n=0): time 9.51e-07/0.3223, allocations: 0 / 1.02 GB, free: 7.984 MB / 0.795 GB Notification: Performance of matching and sorting (n=0): time 7.724e-05/0.3224, allocations: 33.61 kB / 1.02 GB, free: 7.945 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.755e-05/0.3225, allocations: 134.6 kB / 1.021 GB, free: 7.801 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001868/0.3227, allocations: 169.7 kB / 1.021 GB, free: 7.625 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.439e-05/0.3227, allocations: 25.7 kB / 1.021 GB, free: 7.594 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 7.236e-05/0.3228, allocations: 104 kB / 1.021 GB, free: 7.488 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.785e-06/0.3228, allocations: 0 / 1.021 GB, free: 7.488 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.426e-05/0.3228, allocations: 13.72 kB / 1.021 GB, free: 7.469 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.000161/0.323, allocations: 314.8 kB / 1.021 GB, free: 7.152 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.091e-05/0.323, allocations: 11.98 kB / 1.021 GB, free: 7.141 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.589e-05/0.323, allocations: 7.984 kB / 1.021 GB, free: 7.133 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.897e-05/0.3231, allocations: 16.92 kB / 1.021 GB, free: 7.113 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.3231, allocations: 0 / 1.021 GB, free: 7.113 MB / 0.795 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001267/0.3232, allocations: 57.58 kB / 1.021 GB, free: 7.051 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/0.3233, allocations: 10.12 kB / 1.021 GB, free: 7.043 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.3233, allocations: 0 / 1.021 GB, free: 7.043 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.173e-05/0.3233, allocations: 0 / 1.021 GB, free: 7.043 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.195e-05/0.3233, allocations: 4 kB / 1.021 GB, free: 7.039 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/0.3233, allocations: 3.938 kB / 1.021 GB, free: 7.035 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.875e-05/0.3234, allocations: 7.938 kB / 1.021 GB, free: 7.027 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.012e-05/0.3234, allocations: 4.031 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.0001307/0.3235, allocations: 197.1 kB / 1.021 GB, free: 6.82 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.381e-05/0.3236, allocations: 108.9 kB / 1.022 GB, free: 6.707 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.084e-05/0.3237, allocations: 116.8 kB / 1.022 GB, free: 6.586 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.715e-05/0.3238, allocations: 176.3 kB / 1.022 GB, free: 6.406 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.311e-05/0.3239, allocations: 184.2 kB / 1.022 GB, free: 6.219 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.865e-05/0.324, allocations: 185.7 kB / 1.022 GB, free: 6.031 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002937/0.3243, allocations: 417.2 kB / 1.023 GB, free: 5.566 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.462e-05/0.3243, allocations: 108.9 kB / 1.023 GB, free: 5.453 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.04e-05/0.3244, allocations: 109.1 kB / 1.023 GB, free: 5.34 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.621e-05/0.3245, allocations: 180.2 kB / 1.023 GB, free: 5.156 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.844e-05/0.3246, allocations: 184.2 kB / 1.023 GB, free: 4.969 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.945e-05/0.3247, allocations: 184.3 kB / 1.023 GB, free: 4.781 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.64e-05/0.3248, allocations: 188.1 kB / 1.024 GB, free: 4.59 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001784/0.3249, allocations: 303.8 kB / 1.024 GB, free: 4.27 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001014/0.325, allocations: 193.9 kB / 1.024 GB, free: 4.055 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001143/0.3252, allocations: 184.2 kB / 1.024 GB, free: 3.867 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001053/0.3253, allocations: 105.2 kB / 1.024 GB, free: 3.758 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.716e-05/0.3254, allocations: 184.2 kB / 1.024 GB, free: 3.57 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.122e-05/0.3254, allocations: 109 kB / 1.025 GB, free: 3.457 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0001112/0.3256, allocations: 135.2 kB / 1.025 GB, free: 3.324 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3256, allocations: 0 / 1.025 GB, free: 3.324 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002482/0.3258, allocations: 8 kB / 1.025 GB, free: 3.316 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.0001925/0.326, allocations: 174.5 kB / 1.025 GB, free: 3.133 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 7.009e-05/0.3261, allocations: 7.984 kB / 1.025 GB, free: 3.125 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.3261, allocations: 0 / 1.025 GB, free: 3.125 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 1.583e-06/0.3261, allocations: 0 / 1.025 GB, free: 3.125 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005161/0.3266, allocations: 465.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.0003444/0.327, 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.0003504/0.3273, allocations: 0.6923 MB / 1.026 GB, free: 1.676 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.771e-05/0.3274, allocations: 7.438 kB / 1.026 GB, free: 1.668 MB / 0.795 GB Notification: Performance of SimCode: time 2.5e-07/0.3274, allocations: 4 kB / 1.026 GB, free: 1.664 MB / 0.795 GB Notification: Performance of Templates: time 0.002275/0.3297, allocations: 0.7657 MB / 1.027 GB, free: 0.8984 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_MultiMin.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches