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.001758/0.001758, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001415/0.001415, allocations: 195.8 kB / 16.14 MB, free: 6.699 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.251/1.251, allocations: 222.9 MB / 239.8 MB, free: 4.629 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.443/2.443, allocations: 437 MB / 0.7099 GB, free: 5.402 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00124/0.001241, allocations: 67.89 kB / 0.8687 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.587/0.5883, allocations: 151.6 MB / 1.017 GB, free: 2.801 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MultiMin): time 0.001826/0.5901, allocations: 0.726 MB / 1.017 GB, free: 2.078 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0001295/0.5903, allocations: 7.938 kB / 1.017 GB, free: 2.07 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.697e-05/0.5903, allocations: 4 kB / 1.017 GB, free: 2.066 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 9.317e-05/0.5904, allocations: 7.922 kB / 1.017 GB, free: 2.059 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 3.072e-05/0.5905, allocations: 0 / 1.017 GB, free: 2.059 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 8.116e-05/0.5906, allocations: 3.984 kB / 1.017 GB, free: 2.055 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 9.905e-05/0.5907, allocations: 35.98 kB / 1.018 GB, free: 2.02 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000106/0.5908, allocations: 27.98 kB / 1.018 GB, free: 1.992 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 2.249e-05/0.5908, allocations: 11.94 kB / 1.018 GB, free: 1.98 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 2.669e-05/0.5908, allocations: 11.92 kB / 1.018 GB, free: 1.969 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.736e-05/0.5909, allocations: 8 kB / 1.018 GB, free: 1.961 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.07e-05/0.5909, allocations: 3.938 kB / 1.018 GB, free: 1.957 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.785e-05/0.5909, allocations: 11.94 kB / 1.018 GB, free: 1.945 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.806e-05/0.591, allocations: 19.86 kB / 1.018 GB, free: 1.926 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 8.007e-05/0.591, allocations: 47.86 kB / 1.018 GB, free: 1.879 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.591, allocations: 0 / 1.018 GB, free: 1.879 MB / 0.7637 GB Notification: Performance of FrontEnd: time 7.61e-07/0.5911, allocations: 0 / 1.018 GB, free: 1.879 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 6.252e-06/0.5911, allocations: 4 kB / 1.018 GB, free: 1.875 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.0003258/0.5914, allocations: 349.6 kB / 1.018 GB, free: 1.484 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.755e-05/0.5914, allocations: 16.03 kB / 1.018 GB, free: 1.469 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.597e-05/0.5915, allocations: 38.73 kB / 1.018 GB, free: 1.422 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.631e-05/0.5915, allocations: 8.844 kB / 1.018 GB, free: 1.414 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001545/0.5917, allocations: 172.3 kB / 1.018 GB, free: 1.207 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.847e-06/0.5917, allocations: 4.375 kB / 1.018 GB, free: 1.203 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.491e-05/0.5917, allocations: 12.3 kB / 1.018 GB, free: 1.191 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001575/0.5919, allocations: 78.16 kB / 1.018 GB, free: 1.109 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.5919, allocations: 7.938 kB / 1.018 GB, free: 1.102 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.558e-06/0.5919, allocations: 4 kB / 1.018 GB, free: 1.098 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.927e-06/0.5919, allocations: 0 / 1.018 GB, free: 1.098 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.733e-05/0.592, allocations: 47.97 kB / 1.018 GB, free: 1.051 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004352/0.5924, allocations: 495 kB / 1.019 GB, free: 0.5156 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 7.247e-05/0.5925, allocations: 165.1 kB / 1.019 GB, free: 352 kB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.795e-05/0.5925, allocations: 80.14 kB / 1.019 GB, free: 268 kB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 3.113e-05/0.5926, allocations: 79.28 kB / 1.019 GB, free: 188 kB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.5e-05/0.5926, allocations: 109.8 kB / 1.019 GB, free: 68 kB / 0.7637 GB Notification: Performance of pre-optimization done (n=0): time 8.92e-07/0.5926, allocations: 0 / 1.019 GB, free: 68 kB / 0.7637 GB Notification: Performance of matching and sorting (n=0): time 7.056e-05/0.5927, allocations: 41.53 kB / 1.019 GB, free: 20 kB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.516e-05/0.5928, allocations: 130.6 kB / 1.019 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001527/0.5929, allocations: 171.7 kB / 1.02 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.14e-05/0.5929, allocations: 25.7 kB / 1.02 GB, free: 15.67 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.045e-05/0.593, allocations: 100 kB / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.725e-06/0.593, allocations: 0 / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.119e-05/0.593, allocations: 17.7 kB / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001173/0.5932, allocations: 314.8 kB / 1.02 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.767e-05/0.5932, allocations: 7.984 kB / 1.02 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.267e-05/0.5932, allocations: 8 kB / 1.02 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.42e-05/0.5932, allocations: 16.84 kB / 1.02 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.5933, allocations: 0 / 1.02 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001029/0.5934, allocations: 57.59 kB / 1.02 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.438e-05/0.5934, allocations: 8 kB / 1.02 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.5934, allocations: 4 kB / 1.02 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.588e-06/0.5934, allocations: 0 / 1.02 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.11e-05/0.5935, allocations: 7.922 kB / 1.02 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.5935, allocations: 4 kB / 1.02 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.349e-05/0.5935, allocations: 4 kB / 1.02 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.687e-06/0.5935, allocations: 0 / 1.02 GB, free: 15.11 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 9.473e-05/0.5936, allocations: 197.7 kB / 1.02 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.323e-05/0.5937, allocations: 112.8 kB / 1.02 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.17e-05/0.5937, allocations: 108.9 kB / 1.021 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.992e-05/0.5938, allocations: 188.2 kB / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.927e-05/0.5939, allocations: 188.2 kB / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.064e-05/0.5939, allocations: 176.3 kB / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002211/0.5941, allocations: 425.1 kB / 1.021 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-05/0.5942, allocations: 101 kB / 1.022 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.893e-05/0.5942, allocations: 101 kB / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.384e-05/0.5943, allocations: 188.3 kB / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.336e-05/0.5944, allocations: 184.1 kB / 1.022 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.338e-05/0.5944, allocations: 184.1 kB / 1.022 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.56e-05/0.5945, allocations: 188.3 kB / 1.022 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001324/0.5946, allocations: 303.8 kB / 1.023 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 8.335e-05/0.5947, allocations: 190 kB / 1.023 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.774e-05/0.5948, allocations: 180.2 kB / 1.023 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.763e-05/0.5949, allocations: 116.9 kB / 1.023 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.738e-05/0.595, allocations: 176.3 kB / 1.023 GB, free: 11.65 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.297e-05/0.595, allocations: 104.9 kB / 1.023 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001037/0.5951, allocations: 133.1 kB / 1.023 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5951, allocations: 0 / 1.023 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002173/0.5953, allocations: 8 kB / 1.024 GB, free: 11.41 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.0004282/0.5958, allocations: 0.8168 MB / 1.024 GB, free: 10.56 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 6.167e-05/0.5958, allocations: 7.938 kB / 1.024 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.5958, allocations: 0 / 1.024 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 2.855e-06/0.5959, allocations: 4.016 kB / 1.024 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004525/0.5963, allocations: 0.5314 MB / 1.025 GB, free: 10.01 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001249/0.5976, allocations: 1.609 MB / 1.026 GB, free: 8.32 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002527/0.5978, allocations: 0.6965 MB / 1.027 GB, free: 7.598 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.46e-05/0.5979, allocations: 11.98 kB / 1.027 GB, free: 7.586 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.056e-05/0.5979, allocations: 15.44 kB / 1.027 GB, free: 7.57 MB / 0.7794 GB Notification: Performance of SimCode: time 2.2e-07/0.5979, allocations: 0 / 1.027 GB, free: 7.57 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01036/0.6083, allocations: 1.483 MB / 1.029 GB, free: 6.184 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000213/0.6085, allocations: 200.5 kB / 1.029 GB, free: 5.934 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.523/2.131, allocations: 3.938 kB / 1.029 GB, free: 5.93 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