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.001114/0.001114, 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.001128/0.001128, allocations: 196.6 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.427/1.427, allocations: 222.9 MB / 240.2 MB, free: 4.387 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.739/2.739, allocations: 437 MB / 0.7103 GB, free: 5.113 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00124/0.00124, allocations: 71.89 kB / 0.8692 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8232/0.8245, allocations: 151.6 MB / 1.017 GB, free: 2.5 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin): time 0.002345/0.8269, allocations: 0.6474 MB / 1.018 GB, free: 1.852 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0001994/0.8271, allocations: 15.92 kB / 1.018 GB, free: 1.836 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.726e-05/0.8271, allocations: 0 / 1.018 GB, free: 1.836 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0001225/0.8273, allocations: 3.938 kB / 1.018 GB, free: 1.832 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 4.675e-05/0.8273, allocations: 4 kB / 1.018 GB, free: 1.828 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001145/0.8274, allocations: 4 kB / 1.018 GB, free: 1.824 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001302/0.8276, allocations: 39.95 kB / 1.018 GB, free: 1.785 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001591/0.8277, allocations: 27.98 kB / 1.018 GB, free: 1.758 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 3.121e-05/0.8278, allocations: 19.88 kB / 1.018 GB, free: 1.738 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 3.908e-05/0.8278, allocations: 15.92 kB / 1.018 GB, free: 1.723 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.325e-05/0.8279, allocations: 4 kB / 1.018 GB, free: 1.719 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.341e-05/0.8279, allocations: 4 kB / 1.018 GB, free: 1.715 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 3.55e-05/0.8279, allocations: 11.94 kB / 1.018 GB, free: 1.703 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 4.544e-05/0.828, allocations: 19.88 kB / 1.018 GB, free: 1.684 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.000108/0.8281, allocations: 47.86 kB / 1.018 GB, free: 1.637 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.8281, allocations: 0 / 1.018 GB, free: 1.637 MB / 0.7637 GB Notification: Performance of FrontEnd: time 2.074e-06/0.8281, allocations: 0 / 1.018 GB, free: 1.637 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 8.856e-06/0.8281, allocations: 0 / 1.018 GB, free: 1.637 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.0004553/0.8286, allocations: 359 kB / 1.018 GB, free: 1.238 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.483e-05/0.8286, allocations: 8.031 kB / 1.018 GB, free: 1.23 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.269e-05/0.8287, allocations: 8.844 kB / 1.018 GB, free: 1.223 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001852/0.8289, allocations: 180.3 kB / 1.019 GB, free: 1.008 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.44e-05/0.8289, allocations: 4.375 kB / 1.019 GB, free: 1.004 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.492e-05/0.8289, allocations: 8.375 kB / 1.019 GB, free: 0.9961 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001957/0.8291, allocations: 78.16 kB / 1.019 GB, free: 0.9141 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/0.8291, allocations: 4.172 kB / 1.019 GB, free: 0.9102 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.332e-05/0.8292, allocations: 3.938 kB / 1.019 GB, free: 0.9062 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/0.8292, allocations: 4 kB / 1.019 GB, free: 0.9023 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.029e-05/0.8293, allocations: 47.97 kB / 1.019 GB, free: 0.8555 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005714/0.8298, allocations: 491 kB / 1.019 GB, free: 332 kB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 9.787e-05/0.8299, allocations: 173.1 kB / 1.019 GB, free: 148 kB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.394e-05/0.83, allocations: 80.14 kB / 1.02 GB, free: 64 kB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 5.187e-05/0.83, allocations: 75.28 kB / 1.02 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.489e-05/0.8301, allocations: 109.8 kB / 1.02 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 8.82e-07/0.8301, allocations: 0 / 1.02 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 7.567e-05/0.8302, allocations: 37.55 kB / 1.02 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.145e-05/0.8302, allocations: 126.7 kB / 1.02 GB, free: 15.69 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001669/0.8304, allocations: 175 kB / 1.02 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.143e-05/0.8304, allocations: 25.7 kB / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.105e-05/0.8305, allocations: 100 kB / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.895e-06/0.8305, allocations: 3.938 kB / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.23e-05/0.8305, allocations: 17.72 kB / 1.02 GB, free: 15.35 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001208/0.8307, allocations: 318.8 kB / 1.02 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.83e-05/0.8307, allocations: 8 kB / 1.02 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.246e-05/0.8307, allocations: 7.984 kB / 1.02 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.467e-05/0.8307, allocations: 12.86 kB / 1.02 GB, free: 15 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.8308, allocations: 0 / 1.02 GB, free: 15 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001371/0.8309, allocations: 57.61 kB / 1.021 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.29e-05/0.8309, allocations: 4 kB / 1.021 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.93e-06/0.8309, allocations: 4.094 kB / 1.021 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.4e-05/0.8309, allocations: 4 kB / 1.021 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.601e-05/0.831, allocations: 0 / 1.021 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.975e-06/0.831, allocations: 3.938 kB / 1.021 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.646e-05/0.8311, allocations: 7.906 kB / 1.021 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.128e-05/0.8311, allocations: 4 kB / 1.021 GB, free: 14.91 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.0001104/0.8312, allocations: 190.6 kB / 1.021 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.303e-05/0.8313, allocations: 116.8 kB / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.076e-05/0.8313, allocations: 116.8 kB / 1.021 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.526e-05/0.8314, allocations: 184.3 kB / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.428e-05/0.8315, allocations: 184.1 kB / 1.021 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.718e-05/0.8315, allocations: 180.3 kB / 1.021 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002317/0.8318, allocations: 421.1 kB / 1.022 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.082e-05/0.8318, allocations: 109 kB / 1.022 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.506e-05/0.8318, allocations: 101 kB / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.726e-05/0.8319, allocations: 184.3 kB / 1.022 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.725e-05/0.832, allocations: 184.2 kB / 1.022 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.434e-05/0.8321, allocations: 180.2 kB / 1.023 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.122e-05/0.8321, allocations: 184.2 kB / 1.023 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001356/0.8323, allocations: 311.8 kB / 1.023 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 8.067e-05/0.8323, allocations: 186 kB / 1.023 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.399e-05/0.8324, allocations: 184.2 kB / 1.023 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.468e-05/0.8325, allocations: 101 kB / 1.024 GB, free: 11.65 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.981e-05/0.8326, allocations: 192.2 kB / 1.024 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.468e-05/0.8326, allocations: 108.9 kB / 1.024 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 9.694e-05/0.8327, allocations: 129 kB / 1.024 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8327, allocations: 0 / 1.024 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002149/0.833, allocations: 4 kB / 1.024 GB, free: 11.21 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.0001621/0.8331, allocations: 178.5 kB / 1.024 GB, free: 11.03 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 7.336e-05/0.8332, allocations: 11.98 kB / 1.024 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 4.579e-06/0.8332, allocations: 4 kB / 1.024 GB, free: 11.01 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.443e-06/0.8332, allocations: 0 / 1.024 GB, free: 11.01 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004463/0.8337, allocations: 463.6 kB / 1.025 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003249/0.834, allocations: 216.8 kB / 1.025 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002966/0.8343, allocations: 0.6963 MB / 1.025 GB, free: 9.594 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.101e-05/0.8343, allocations: 11.91 kB / 1.025 GB, free: 9.582 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.905e-05/0.8344, allocations: 7.438 kB / 1.025 GB, free: 9.574 MB / 0.7794 GB Notification: Performance of SimCode: time 2.3e-07/0.8344, allocations: 0 / 1.025 GB, free: 9.574 MB / 0.7794 GB Notification: Performance of Templates: time 0.002611/0.837, allocations: 472.4 kB / 1.026 GB, free: 9.117 MB / 0.7794 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=480 -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/jenkins/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