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.001198/0.001198, 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.001861/0.001861, allocations: 196.1 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.247/1.247, allocations: 222.9 MB / 240.2 MB, free: 4.414 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.31/2.31, allocations: 437.1 MB / 0.7104 GB, free: 5.078 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001304/0.001304, allocations: 71.88 kB / 0.8694 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5038/0.5051, 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.00148/0.5066, allocations: 0.6553 MB / 1.018 GB, free: 1.844 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0001227/0.5068, allocations: 11.97 kB / 1.018 GB, free: 1.832 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.029e-05/0.5068, allocations: 4 kB / 1.018 GB, free: 1.828 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 6.954e-05/0.5069, allocations: 7.938 kB / 1.018 GB, free: 1.82 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 2.382e-05/0.5069, allocations: 0 / 1.018 GB, free: 1.82 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 6.354e-05/0.507, allocations: 4 kB / 1.018 GB, free: 1.816 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 8.776e-05/0.5071, allocations: 43.91 kB / 1.018 GB, free: 1.773 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 9.919e-05/0.5072, allocations: 31.98 kB / 1.018 GB, free: 1.742 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 2.019e-05/0.5072, allocations: 11.94 kB / 1.018 GB, free: 1.73 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 2.991e-05/0.5073, allocations: 15.92 kB / 1.018 GB, free: 1.715 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.399e-05/0.5073, allocations: 4 kB / 1.018 GB, free: 1.711 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.02e-05/0.5073, allocations: 4 kB / 1.018 GB, free: 1.707 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.276e-05/0.5073, allocations: 7.938 kB / 1.018 GB, free: 1.699 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.157e-05/0.5073, allocations: 27.86 kB / 1.018 GB, free: 1.672 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 6.648e-05/0.5074, allocations: 39.88 kB / 1.018 GB, free: 1.633 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 2.926e-06/0.5074, allocations: 0 / 1.018 GB, free: 1.633 MB / 0.7637 GB Notification: Performance of FrontEnd: time 9.42e-07/0.5074, allocations: 4 kB / 1.018 GB, free: 1.629 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 5.089e-06/0.5074, allocations: 0 / 1.018 GB, free: 1.629 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.0002649/0.5077, allocations: 357.6 kB / 1.019 GB, free: 1.23 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 2.835e-05/0.5077, allocations: 8.031 kB / 1.019 GB, free: 1.223 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.975e-05/0.5078, allocations: 38.75 kB / 1.019 GB, free: 1.176 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.94e-05/0.5078, allocations: 4.844 kB / 1.019 GB, free: 1.172 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001218/0.5079, allocations: 180.2 kB / 1.019 GB, free: 0.957 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.787e-06/0.5079, allocations: 8.375 kB / 1.019 GB, free: 0.9492 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.877e-06/0.508, allocations: 8.359 kB / 1.019 GB, free: 0.9414 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001162/0.5081, allocations: 78.22 kB / 1.019 GB, free: 0.8594 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.593e-06/0.5081, allocations: 3.938 kB / 1.019 GB, free: 0.8555 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.215e-06/0.5081, allocations: 4 kB / 1.019 GB, free: 0.8516 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.5081, allocations: 4 kB / 1.019 GB, free: 0.8477 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.076e-05/0.5082, allocations: 43.97 kB / 1.019 GB, free: 0.8047 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003831/0.5086, allocations: 495 kB / 1.019 GB, free: 276 kB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 5.708e-05/0.5086, allocations: 169.1 kB / 1.02 GB, free: 96 kB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.114e-05/0.5087, allocations: 88.08 kB / 1.02 GB, free: 4 kB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 2.915e-05/0.5087, allocations: 75.28 kB / 1.02 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.081e-05/0.5087, allocations: 109.8 kB / 1.02 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 9.32e-07/0.5087, allocations: 0 / 1.02 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 5.806e-05/0.5088, allocations: 33.61 kB / 1.02 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.357e-05/0.5089, allocations: 138.6 kB / 1.02 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001354/0.509, allocations: 167.2 kB / 1.02 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.031e-05/0.509, allocations: 29.7 kB / 1.02 GB, free: 15.42 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.079e-05/0.5091, allocations: 96.03 kB / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.114e-06/0.5091, allocations: 0 / 1.02 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.41e-05/0.5091, allocations: 13.72 kB / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.7e-05/0.5092, allocations: 322.8 kB / 1.021 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.501e-05/0.5092, allocations: 7.938 kB / 1.021 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.137e-05/0.5092, allocations: 11.98 kB / 1.021 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.773e-05/0.5093, allocations: 12.86 kB / 1.021 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.5093, allocations: 0 / 1.021 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.175e-05/0.5094, allocations: 53.67 kB / 1.021 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.008e-05/0.5094, allocations: 5.719 kB / 1.021 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.226e-06/0.5094, allocations: 0 / 1.021 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.456e-06/0.5094, allocations: 0 / 1.021 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.211e-05/0.5095, allocations: 11.94 kB / 1.021 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.176e-06/0.5095, allocations: 0 / 1.021 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.287e-05/0.5095, allocations: 12 kB / 1.021 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.466e-06/0.5095, allocations: 4 kB / 1.021 GB, free: 14.85 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.117e-05/0.5096, allocations: 200.5 kB / 1.021 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.784e-05/0.5097, allocations: 108.9 kB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.863e-05/0.5097, allocations: 112.8 kB / 1.021 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.552e-05/0.5098, allocations: 192.2 kB / 1.021 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.903e-05/0.5098, allocations: 180.3 kB / 1.022 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.093e-05/0.5099, allocations: 180.2 kB / 1.022 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001932/0.5101, allocations: 425.2 kB / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.641e-05/0.5101, allocations: 101 kB / 1.022 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.433e-05/0.5101, allocations: 105 kB / 1.022 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.648e-05/0.5102, allocations: 184.2 kB / 1.022 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.257e-05/0.5103, allocations: 184.2 kB / 1.023 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.947e-05/0.5103, allocations: 180.2 kB / 1.023 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.034e-05/0.5104, allocations: 180.2 kB / 1.023 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001058/0.5105, allocations: 303.8 kB / 1.023 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.646e-05/0.5105, allocations: 197.9 kB / 1.023 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.137e-05/0.5106, allocations: 184.3 kB / 1.024 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.76e-05/0.5107, allocations: 104.9 kB / 1.024 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.486e-05/0.5107, allocations: 180.2 kB / 1.024 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.751e-05/0.5108, allocations: 109 kB / 1.024 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 8.882e-05/0.5109, allocations: 131.2 kB / 1.024 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.9e-07/0.5109, allocations: 4 kB / 1.024 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001935/0.5111, allocations: 4 kB / 1.024 GB, free: 11.16 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.0003269/0.5114, allocations: 0.8187 MB / 1.025 GB, free: 10.31 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 5.124e-05/0.5115, allocations: 16.34 kB / 1.025 GB, free: 10.29 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.5115, allocations: 0 / 1.025 GB, free: 10.29 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.503e-06/0.5115, allocations: 0 / 1.025 GB, free: 10.29 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003344/0.5118, allocations: 464.9 kB / 1.025 GB, free: 9.836 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001081/0.5129, allocations: 1.611 MB / 1.027 GB, free: 8.145 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002037/0.5131, allocations: 0.6885 MB / 1.028 GB, free: 7.43 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.91e-05/0.5131, allocations: 8 kB / 1.028 GB, free: 7.422 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.006e-05/0.5132, allocations: 19.42 kB / 1.028 GB, free: 7.402 MB / 0.7794 GB Notification: Performance of SimCode: time 2.21e-07/0.5132, allocations: 0 / 1.028 GB, free: 7.402 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.979/2.492, allocations: 1.597 MB / 1.029 GB, free: 5.875 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.876/10.37, allocations: 16.38 kB / 1.029 GB, free: 5.863 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