Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Min.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.Min,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Min",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Min,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Min",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.001207/0.001207, allocations: 99.36 kB / 15.33 MB, free: 0.5078 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.001195/0.001195, allocations: 195.9 kB / 16.25 MB, free: 6.633 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.293/1.293, allocations: 222.9 MB / 239.9 MB, free: 4.527 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.404/2.404, allocations: 437 MB / 0.7101 GB, free: 5.281 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001302/0.001302, allocations: 71.89 kB / 0.8689 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.581/0.5823, allocations: 151.6 MB / 1.017 GB, free: 2.711 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Min): time 0.002037/0.5844, allocations: 0.7785 MB / 1.018 GB, free: 1.934 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0008655/0.5853, allocations: 0.7962 MB / 1.018 GB, free: 1.125 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.521e-05/0.5853, allocations: 7.938 kB / 1.018 GB, free: 1.117 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.938e-05/0.5854, allocations: 0 / 1.018 GB, free: 1.117 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 6.808e-05/0.5854, allocations: 7.938 kB / 1.018 GB, free: 1.109 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001026/0.5855, allocations: 7.984 kB / 1.018 GB, free: 1.102 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 8.162e-05/0.5856, allocations: 43.86 kB / 1.019 GB, free: 1.059 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001069/0.5858, allocations: 19.92 kB / 1.019 GB, free: 1.039 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 6.475e-05/0.5858, allocations: 15.98 kB / 1.019 GB, free: 1.023 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 5.114e-05/0.5859, allocations: 19.92 kB / 1.019 GB, free: 1.004 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.858e-05/0.5859, allocations: 4 kB / 1.019 GB, free: 1 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.221e-05/0.5859, allocations: 7.938 kB / 1.019 GB, free: 0.9922 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.042e-05/0.5859, allocations: 11.97 kB / 1.019 GB, free: 0.9805 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.826e-05/0.586, allocations: 11.94 kB / 1.019 GB, free: 0.9688 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 8.519e-05/0.5861, allocations: 43.88 kB / 1.019 GB, free: 0.9258 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.5861, allocations: 3.938 kB / 1.019 GB, free: 0.9219 MB / 0.7637 GB Notification: Performance of FrontEnd: time 2.625e-06/0.5861, allocations: 3.938 kB / 1.019 GB, free: 0.918 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 9.268e-06/0.5861, allocations: 4 kB / 1.019 GB, free: 0.9141 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000496/0.5866, allocations: 365.5 kB / 1.019 GB, free: 0.5078 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.929e-05/0.5866, allocations: 8.031 kB / 1.019 GB, free: 0.5 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.166e-05/0.5867, allocations: 30.75 kB / 1.019 GB, free: 472 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.611e-05/0.5867, allocations: 4.938 kB / 1.019 GB, free: 468 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001174/0.5868, allocations: 172.3 kB / 1.019 GB, free: 256 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.715e-06/0.5868, allocations: 384 / 1.019 GB, free: 256 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.243e-05/0.5869, allocations: 384 / 1.019 GB, free: 256 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002333/0.5871, allocations: 78.2 kB / 1.019 GB, free: 172 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.318e-06/0.5871, allocations: 3.938 kB / 1.019 GB, free: 168 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.096e-05/0.5871, allocations: 0 / 1.019 GB, free: 168 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-06/0.5871, allocations: 0 / 1.019 GB, free: 168 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000253/0.5874, allocations: 67.86 kB / 1.019 GB, free: 100 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003385/0.5877, allocations: 272.9 kB / 1.02 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001775/0.5879, allocations: 50.55 kB / 1.02 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001326/0.5881, allocations: 40.89 kB / 1.02 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.032e-05/0.5881, allocations: 8 kB / 1.02 GB, free: 15.67 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.107e-05/0.5881, allocations: 38.56 kB / 1.02 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 1.002e-06/0.5881, allocations: 3.938 kB / 1.02 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0004837/0.5886, allocations: 125.5 kB / 1.02 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.454e-05/0.5887, allocations: 59.39 kB / 1.02 GB, free: 15.42 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.02e-05/0.5888, allocations: 109.8 kB / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.334e-05/0.5888, allocations: 25.7 kB / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.285e-05/0.5888, allocations: 84.14 kB / 1.02 GB, free: 15.19 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.008e-05/0.5889, allocations: 11.84 kB / 1.02 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.976e-05/0.5889, allocations: 13.72 kB / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.603e-05/0.589, allocations: 318.8 kB / 1.02 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001365/0.5891, allocations: 31.97 kB / 1.021 GB, free: 14.8 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001154/0.5893, allocations: 31.95 kB / 1.021 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002339/0.5895, allocations: 72.67 kB / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.694e-06/0.5895, allocations: 0 / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002811/0.5898, allocations: 105.5 kB / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/0.5898, allocations: 7.938 kB / 1.021 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.754e-06/0.5898, allocations: 4 kB / 1.021 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.318e-05/0.5898, allocations: 3.938 kB / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001163/0.59, allocations: 11.98 kB / 1.021 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.59, allocations: 0 / 1.021 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.295e-05/0.5901, allocations: 15.98 kB / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.007e-06/0.5901, allocations: 4 kB / 1.021 GB, free: 14.54 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 (3): * Single equations (assignments): 3 * 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 7.889e-05/0.5902, allocations: 118.3 kB / 1.021 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.141e-05/0.5902, allocations: 0 / 1.021 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003243/0.5905, allocations: 109.5 kB / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-06/0.5905, allocations: 4 kB / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.95e-06/0.5905, allocations: 0 / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.5905, allocations: 4 kB / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001507/0.5907, allocations: 169.5 kB / 1.021 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.5907, allocations: 4 kB / 1.021 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.478e-05/0.5908, allocations: 15.97 kB / 1.021 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.292e-06/0.5908, allocations: 0 / 1.021 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.636e-06/0.5908, allocations: 0 / 1.021 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.475e-06/0.5908, allocations: 4 kB / 1.021 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.5908, allocations: 0 / 1.021 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003117/0.5911, allocations: 199.4 kB / 1.021 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.1e-05/0.5912, allocations: 77.53 kB / 1.021 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.552e-05/0.5912, allocations: 3.984 kB / 1.021 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.567e-05/0.5913, allocations: 11.98 kB / 1.021 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.967e-05/0.5914, allocations: 8 kB / 1.021 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.767e-06/0.5914, allocations: 0 / 1.021 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.162e-05/0.5914, allocations: 87.27 kB / 1.022 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5914, allocations: 0 / 1.022 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002057/0.5916, allocations: 11.91 kB / 1.022 GB, free: 13.63 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 (3): * Single equations (assignments): 3 * 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.0005995/0.5922, allocations: 0.7378 MB / 1.022 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003021/0.5925, allocations: 67.92 kB / 1.022 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.5926, allocations: 4 kB / 1.022 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.000133/0.5927, allocations: 35.97 kB / 1.022 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002946/0.593, allocations: 11.92 kB / 1.022 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000417/0.5934, allocations: 163.2 kB / 1.023 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002157/0.5936, allocations: 0.6885 MB / 1.023 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.957e-05/0.5937, allocations: 3.938 kB / 1.023 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.334e-05/0.5937, allocations: 19.38 kB / 1.023 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of SimCode: time 2.2e-07/0.5937, allocations: 0 / 1.023 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01822/0.612, allocations: 1.397 MB / 1.025 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002212/0.6122, allocations: 202.7 kB / 1.025 GB, free: 10.27 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.711/2.323, allocations: 3.938 kB / 1.025 GB, free: 10.26 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Min.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Min_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Min_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Min.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Min_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Min.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Min.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches