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: "" <> 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.001294/0.001294, 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.001344/0.001344, allocations: 195.2 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.295/1.295, allocations: 222.9 MB / 240.2 MB, free: 4.402 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.436/2.436, allocations: 437.1 MB / 0.7104 GB, free: 5.191 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001359/0.001359, allocations: 71.91 kB / 0.8694 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5839/0.5853, allocations: 151.6 MB / 1.017 GB, free: 2.531 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin): time 0.001898/0.5872, allocations: 0.6456 MB / 1.018 GB, free: 1.887 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0001552/0.5874, allocations: 19.97 kB / 1.018 GB, free: 1.867 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.779e-05/0.5875, allocations: 0 / 1.018 GB, free: 1.867 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 9.084e-05/0.5876, allocations: 3.938 kB / 1.018 GB, free: 1.863 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 3.377e-05/0.5876, allocations: 0 / 1.018 GB, free: 1.863 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 8.991e-05/0.5877, allocations: 4 kB / 1.018 GB, free: 1.859 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001188/0.5878, allocations: 39.91 kB / 1.018 GB, free: 1.82 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001317/0.588, allocations: 31.98 kB / 1.018 GB, free: 1.789 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 2.776e-05/0.588, allocations: 11.94 kB / 1.018 GB, free: 1.777 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 3.078e-05/0.588, allocations: 15.94 kB / 1.018 GB, free: 1.762 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.531e-05/0.588, allocations: 4 kB / 1.018 GB, free: 1.758 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.209e-05/0.5881, allocations: 4 kB / 1.018 GB, free: 1.754 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.94e-05/0.5881, allocations: 15.92 kB / 1.018 GB, free: 1.738 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.813e-05/0.5881, allocations: 19.88 kB / 1.018 GB, free: 1.719 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001095/0.5883, allocations: 43.86 kB / 1.018 GB, free: 1.676 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.5883, allocations: 0 / 1.018 GB, free: 1.676 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.022e-06/0.5883, allocations: 0 / 1.018 GB, free: 1.676 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 6.733e-06/0.5883, allocations: 0 / 1.018 GB, free: 1.676 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.0003584/0.5886, allocations: 357.6 kB / 1.019 GB, free: 1.277 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.277e-05/0.5887, allocations: 16.03 kB / 1.019 GB, free: 1.262 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.332e-05/0.5887, allocations: 38.69 kB / 1.019 GB, free: 1.215 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.339e-05/0.5888, allocations: 12.84 kB / 1.019 GB, free: 1.203 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001575/0.5889, allocations: 180.2 kB / 1.019 GB, free: 0.9883 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.223e-05/0.589, allocations: 4.375 kB / 1.019 GB, free: 0.9844 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.158e-05/0.589, allocations: 8.359 kB / 1.019 GB, free: 0.9766 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001511/0.5891, allocations: 74.22 kB / 1.019 GB, free: 0.8984 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.5892, allocations: 7.938 kB / 1.019 GB, free: 0.8906 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.859e-06/0.5892, allocations: 4 kB / 1.019 GB, free: 0.8867 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.5892, allocations: 4 kB / 1.019 GB, free: 0.8828 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.937e-05/0.5893, allocations: 47.91 kB / 1.019 GB, free: 0.8359 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004478/0.5897, allocations: 483.1 kB / 1.019 GB, free: 320 kB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 7.545e-05/0.5898, allocations: 177.1 kB / 1.02 GB, free: 132 kB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.65e-05/0.5898, allocations: 80.14 kB / 1.02 GB, free: 48 kB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 3.636e-05/0.5899, allocations: 79.28 kB / 1.02 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.278e-05/0.5899, allocations: 109.8 kB / 1.02 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 9.92e-07/0.5899, allocations: 0 / 1.02 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 6.616e-05/0.59, allocations: 33.61 kB / 1.02 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.204e-05/0.59, allocations: 134.6 kB / 1.02 GB, free: 15.67 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001443/0.5902, allocations: 171.4 kB / 1.02 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.551e-05/0.5902, allocations: 25.7 kB / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.346e-05/0.5903, allocations: 108 kB / 1.02 GB, free: 15.35 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.144e-06/0.5903, allocations: 0 / 1.02 GB, free: 15.35 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.797e-05/0.5903, allocations: 13.72 kB / 1.02 GB, free: 15.33 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.201e-05/0.5904, allocations: 318.8 kB / 1.021 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.53e-05/0.5904, allocations: 4 kB / 1.021 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.645e-05/0.5905, allocations: 11.98 kB / 1.021 GB, free: 15 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.042e-05/0.5905, allocations: 12.86 kB / 1.021 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.203e-06/0.5905, allocations: 4.062 kB / 1.021 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001078/0.5906, allocations: 49.67 kB / 1.021 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.157e-05/0.5906, allocations: 7.938 kB / 1.021 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.5906, allocations: 4 kB / 1.021 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.206e-05/0.5907, allocations: 0 / 1.021 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.905e-05/0.5907, allocations: 3.938 kB / 1.021 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.531e-06/0.5907, allocations: 4 kB / 1.021 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.482e-05/0.5907, allocations: 7.906 kB / 1.021 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.167e-06/0.5908, allocations: 0 / 1.021 GB, free: 14.89 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.000101/0.5909, allocations: 200.6 kB / 1.021 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.561e-05/0.5909, allocations: 108.9 kB / 1.021 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.712e-05/0.591, allocations: 116.8 kB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.633e-05/0.591, allocations: 188.2 kB / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-05/0.5911, allocations: 180.3 kB / 1.022 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-05/0.5912, allocations: 180.2 kB / 1.022 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000202/0.5914, allocations: 425.1 kB / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-05/0.5914, allocations: 108.9 kB / 1.022 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.924e-05/0.5914, allocations: 101.1 kB / 1.022 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.187e-05/0.5915, allocations: 184.2 kB / 1.022 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.809e-05/0.5916, allocations: 180.2 kB / 1.023 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.182e-05/0.5916, allocations: 184.2 kB / 1.023 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.258e-05/0.5917, allocations: 192.2 kB / 1.023 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000121/0.5918, allocations: 303.8 kB / 1.023 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.531e-05/0.5919, allocations: 189.9 kB / 1.023 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.04e-05/0.5919, allocations: 188.2 kB / 1.024 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.747e-05/0.592, allocations: 112.9 kB / 1.024 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.839e-05/0.5921, allocations: 176.3 kB / 1.024 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.247e-05/0.5921, allocations: 105 kB / 1.024 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 9.995e-05/0.5922, allocations: 136.3 kB / 1.024 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5922, allocations: 0 / 1.024 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000208/0.5924, allocations: 4 kB / 1.024 GB, free: 11.19 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.0003566/0.5928, allocations: 0.8165 MB / 1.025 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 5.948e-05/0.5929, allocations: 4.359 kB / 1.025 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.5929, allocations: 0 / 1.025 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 3.998e-06/0.5929, allocations: 7.922 kB / 1.025 GB, free: 10.33 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003898/0.5933, allocations: 468.9 kB / 1.025 GB, free: 9.867 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001127/0.5944, allocations: 1.616 MB / 1.027 GB, free: 8.176 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002086/0.5946, allocations: 0.6885 MB / 1.028 GB, free: 7.461 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.129e-05/0.5947, allocations: 8 kB / 1.028 GB, free: 7.453 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.924e-05/0.5947, allocations: 19.42 kB / 1.028 GB, free: 7.434 MB / 0.7794 GB Notification: Performance of SimCode: time 2.31e-07/0.5947, allocations: 4 kB / 1.028 GB, free: 7.43 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01623/0.611, allocations: 1.578 MB / 1.029 GB, free: 5.918 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.006/7.617, allocations: 8.422 kB / 1.029 GB, free: 5.914 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 & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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