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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_MultiMin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_MultiMin",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008552/0.0008552, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.005436/0.005436, allocations: 170.7 kB / 16.26 MB, free: 6.676 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.303/1.303, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.364/2.364, allocations: 437.8 MB / 0.7121 GB, free: 6.961 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003298/0.0003298, allocations: 16 kB / 0.873 GB, free: 3.145 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5854/0.5857, allocations: 153.8 MB / 1.023 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin): time 0.0006739/0.5864, allocations: 390.4 kB / 1.024 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0001199/0.5866, allocations: 19.92 kB / 1.024 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.782e-05/0.5866, allocations: 0 / 1.024 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 7.083e-05/0.5867, allocations: 3.984 kB / 1.024 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 3.064e-05/0.5867, allocations: 4 kB / 1.024 GB, free: 15.4 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 6.862e-05/0.5868, allocations: 4 kB / 1.024 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 8.474e-05/0.5869, allocations: 35.91 kB / 1.024 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 9.432e-05/0.587, allocations: 28 kB / 1.024 GB, free: 15.33 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 1.655e-05/0.587, allocations: 7.938 kB / 1.024 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 2.369e-05/0.5871, allocations: 11.92 kB / 1.024 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.306e-05/0.5871, allocations: 0 / 1.024 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 7.514e-06/0.5871, allocations: 4 kB / 1.024 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.03e-05/0.5871, allocations: 7.938 kB / 1.024 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.228e-05/0.5872, allocations: 45.56 kB / 1.024 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 6.513e-05/0.5872, allocations: 43.86 kB / 1.024 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.5872, allocations: 0 / 1.024 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.302e-06/0.5872, allocations: 0 / 1.024 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.248e-06/0.5872, allocations: 4 kB / 1.024 GB, free: 15.2 MB / 0.7794 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.000246/0.5875, allocations: 341.6 kB / 1.024 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.334e-05/0.5875, allocations: 8.031 kB / 1.024 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.094e-05/0.5876, allocations: 34.75 kB / 1.024 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.927e-05/0.5876, allocations: 4.938 kB / 1.024 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001259/0.5877, allocations: 192.2 kB / 1.024 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.963e-06/0.5877, allocations: 384 / 1.024 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.01e-05/0.5878, allocations: 8.375 kB / 1.024 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001244/0.5879, allocations: 74.22 kB / 1.024 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.766e-06/0.5879, allocations: 3.938 kB / 1.024 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.616e-06/0.5879, allocations: 4 kB / 1.024 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.988e-06/0.5879, allocations: 0 / 1.024 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.434e-05/0.588, allocations: 47.97 kB / 1.024 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003917/0.5884, allocations: 495 kB / 1.025 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 5.963e-05/0.5885, allocations: 173.1 kB / 1.025 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.278e-05/0.5885, allocations: 80.14 kB / 1.025 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.98e-05/0.5885, allocations: 79.27 kB / 1.025 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.435e-05/0.5885, allocations: 109.8 kB / 1.025 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 8.31e-07/0.5886, allocations: 0 / 1.025 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 5.482e-05/0.5886, allocations: 37.55 kB / 1.025 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.558e-05/0.5887, allocations: 130.6 kB / 1.025 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001315/0.5888, allocations: 179.4 kB / 1.026 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.11e-05/0.5888, allocations: 25.7 kB / 1.026 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.506e-05/0.5889, allocations: 96.12 kB / 1.026 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.104e-06/0.5889, allocations: 0 / 1.026 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.886e-05/0.5889, allocations: 9.719 kB / 1.026 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.059e-05/0.589, allocations: 322.8 kB / 1.026 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.386e-05/0.589, allocations: 8 kB / 1.026 GB, free: 12.56 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.147e-05/0.589, allocations: 7.984 kB / 1.026 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.808e-05/0.5891, allocations: 16.84 kB / 1.026 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.5891, allocations: 0 / 1.026 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.957e-05/0.5892, allocations: 49.59 kB / 1.026 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.032e-05/0.5892, allocations: 8 kB / 1.026 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.836e-06/0.5892, allocations: 4.094 kB / 1.026 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.177e-06/0.5892, allocations: 4 kB / 1.026 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.233e-05/0.5892, allocations: 11.88 kB / 1.026 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.677e-06/0.5892, allocations: 0 / 1.026 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.409e-05/0.5893, allocations: 7.906 kB / 1.026 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.855e-06/0.5893, allocations: 0 / 1.026 GB, free: 12.45 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 8.072e-05/0.5894, allocations: 197.6 kB / 1.026 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.71e-05/0.5894, allocations: 101 kB / 1.026 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.29e-05/0.5895, allocations: 124.8 kB / 1.027 GB, free: 12.01 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.606e-05/0.5895, allocations: 184.2 kB / 1.027 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-05/0.5896, allocations: 176.3 kB / 1.027 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.141e-05/0.5896, allocations: 184.2 kB / 1.027 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001804/0.5898, allocations: 421.2 kB / 1.028 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.582e-05/0.5898, allocations: 108.9 kB / 1.028 GB, free: 10.87 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.013e-05/0.5899, allocations: 105.1 kB / 1.028 GB, free: 10.76 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.36e-05/0.5899, allocations: 180.2 kB / 1.028 GB, free: 10.58 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.463e-05/0.59, allocations: 184.2 kB / 1.028 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.355e-05/0.59, allocations: 184.2 kB / 1.028 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.37e-05/0.5901, allocations: 184.2 kB / 1.028 GB, free: 10.02 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.367e-05/0.5902, allocations: 307.7 kB / 1.029 GB, free: 9.691 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.019e-05/0.5903, allocations: 193.9 kB / 1.029 GB, free: 9.477 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.479e-05/0.5903, allocations: 180.3 kB / 1.029 GB, free: 9.293 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.876e-05/0.5904, allocations: 108.9 kB / 1.029 GB, free: 9.18 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.027e-05/0.5904, allocations: 180.3 kB / 1.029 GB, free: 8.996 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.75e-05/0.5905, allocations: 109.3 kB / 1.029 GB, free: 8.883 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.951e-05/0.5906, allocations: 128.3 kB / 1.03 GB, free: 8.758 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.242e-06/0.5906, allocations: 0 / 1.03 GB, free: 8.758 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000195/0.5908, allocations: 7.938 kB / 1.03 GB, free: 8.75 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.0003124/0.5911, allocations: 0.8164 MB / 1.03 GB, free: 7.902 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 5.045e-05/0.5911, allocations: 20.02 kB / 1.03 GB, free: 7.883 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.5911, allocations: 4 kB / 1.03 GB, free: 7.879 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 2.675e-06/0.5912, allocations: 3.938 kB / 1.03 GB, free: 7.875 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003662/0.5915, allocations: 0.5224 MB / 1.031 GB, free: 7.348 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001033/0.5926, allocations: 1.609 MB / 1.032 GB, free: 5.66 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001871/0.5928, allocations: 0.6926 MB / 1.033 GB, free: 4.941 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.376e-05/0.5928, allocations: 15.97 kB / 1.033 GB, free: 4.926 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.86e-05/0.5928, allocations: 11.44 kB / 1.033 GB, free: 4.914 MB / 0.7794 GB Notification: Performance of SimCode: time 3.31e-07/0.5928, allocations: 0 / 1.033 GB, free: 4.914 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2442/0.8371, allocations: 1.401 MB / 1.035 GB, free: 3.633 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002619/0.8374, allocations: 207.7 kB / 1.035 GB, free: 3.375 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.637/2.475, allocations: 5.062 kB / 1.035 GB, free: 3.371 MB / 0.7794 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_MultiMin_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_MultiMin.fmu > 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