Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Max.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.Max,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Max",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Max,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Max",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.003764/0.003764, allocations: 96.7 kB / 15.73 MB, free: 6.043 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.001117/0.001117, allocations: 196.8 kB / 16.67 MB, free: 5.969 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.273/1.273, allocations: 222.9 MB / 240.4 MB, free: 4.301 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.416/2.416, allocations: 437.1 MB / 0.7106 GB, free: 4.906 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001793/0.001793, allocations: 67.91 kB / 1.018 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2748/0.2766, allocations: 151.6 MB / 1.166 GB, free: 7.199 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Max): time 0.001732/0.2783, allocations: 0.7034 MB / 1.167 GB, free: 6.492 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0008512/0.2792, allocations: 0.816 MB / 1.168 GB, free: 5.664 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.98e-05/0.2792, allocations: 0 / 1.168 GB, free: 5.664 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.612e-05/0.2793, allocations: 3.938 kB / 1.168 GB, free: 5.66 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 6.023e-05/0.2793, allocations: 3.938 kB / 1.168 GB, free: 5.656 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 9.018e-05/0.2794, allocations: 15.98 kB / 1.168 GB, free: 5.641 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 7.76e-05/0.2795, allocations: 43.84 kB / 1.168 GB, free: 5.598 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 8.372e-05/0.2796, allocations: 11.98 kB / 1.168 GB, free: 5.586 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 6.153e-05/0.2797, allocations: 19.92 kB / 1.168 GB, free: 5.566 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 4.665e-05/0.2797, allocations: 31.84 kB / 1.168 GB, free: 5.535 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.682e-05/0.2798, allocations: 4 kB / 1.168 GB, free: 5.531 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.193e-05/0.2798, allocations: 4 kB / 1.168 GB, free: 5.527 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.755e-05/0.2798, allocations: 4 kB / 1.168 GB, free: 5.523 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.441e-05/0.2798, allocations: 19.86 kB / 1.168 GB, free: 5.504 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 8.789e-05/0.2799, allocations: 44.08 kB / 1.168 GB, free: 5.461 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.2799, allocations: 0 / 1.168 GB, free: 5.461 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.383e-06/0.2799, allocations: 0 / 1.168 GB, free: 5.461 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.078e-06/0.2799, allocations: 0 / 1.168 GB, free: 5.461 MB / 0.92 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.0005046/0.2805, allocations: 367.3 kB / 1.168 GB, free: 5.051 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.554e-05/0.2805, allocations: 8.031 kB / 1.168 GB, free: 5.043 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.763e-05/0.2805, allocations: 34.75 kB / 1.168 GB, free: 5 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.412e-05/0.2806, allocations: 8.875 kB / 1.168 GB, free: 4.992 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001206/0.2807, allocations: 164.4 kB / 1.168 GB, free: 4.793 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.067e-06/0.2807, allocations: 4.312 kB / 1.168 GB, free: 4.789 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.144e-05/0.2807, allocations: 4.375 kB / 1.168 GB, free: 4.785 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002335/0.281, allocations: 66.22 kB / 1.169 GB, free: 4.715 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.268e-06/0.281, allocations: 7.938 kB / 1.169 GB, free: 4.707 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.598e-06/0.281, allocations: 0 / 1.169 GB, free: 4.707 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.887e-06/0.281, allocations: 3.938 kB / 1.169 GB, free: 4.703 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002831/0.2813, allocations: 63.92 kB / 1.169 GB, free: 4.641 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003387/0.2816, allocations: 272.8 kB / 1.169 GB, free: 4.324 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001975/0.2818, allocations: 66.47 kB / 1.169 GB, free: 4.25 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001499/0.282, allocations: 36.92 kB / 1.169 GB, free: 4.211 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.875e-05/0.282, allocations: 0 / 1.169 GB, free: 4.211 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.472e-05/0.2821, allocations: 30.56 kB / 1.169 GB, free: 4.172 MB / 0.92 GB Notification: Performance of pre-optimization done (n=3): time 8.62e-07/0.2821, allocations: 4 kB / 1.169 GB, free: 4.168 MB / 0.92 GB Notification: Performance of matching and sorting (n=3): time 0.0005301/0.2826, allocations: 133.6 kB / 1.169 GB, free: 4.031 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.289e-05/0.2826, allocations: 51.41 kB / 1.169 GB, free: 3.969 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.258e-05/0.2827, allocations: 113.8 kB / 1.169 GB, free: 3.848 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.444e-05/0.2828, allocations: 25.7 kB / 1.169 GB, free: 3.816 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.433e-05/0.2828, allocations: 88.14 kB / 1.169 GB, free: 3.727 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.998e-05/0.2828, allocations: 15.89 kB / 1.169 GB, free: 3.711 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.231e-05/0.2829, allocations: 13.72 kB / 1.169 GB, free: 3.691 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001233/0.283, allocations: 314.8 kB / 1.17 GB, free: 3.375 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001456/0.2832, allocations: 31.95 kB / 1.17 GB, free: 3.344 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001391/0.2833, allocations: 35.97 kB / 1.17 GB, free: 3.309 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002728/0.2836, allocations: 68.72 kB / 1.17 GB, free: 3.238 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.2836, allocations: 4 kB / 1.17 GB, free: 3.234 MB / 0.92 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003217/0.2839, allocations: 97.56 kB / 1.17 GB, free: 3.133 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.294e-05/0.2839, allocations: 12 kB / 1.17 GB, free: 3.121 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.284, allocations: 0 / 1.17 GB, free: 3.121 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.113e-05/0.284, allocations: 3.938 kB / 1.17 GB, free: 3.117 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001205/0.2841, allocations: 19.97 kB / 1.17 GB, free: 3.098 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.299e-06/0.2841, allocations: 0 / 1.17 GB, free: 3.098 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.526e-05/0.2842, allocations: 7.984 kB / 1.17 GB, free: 3.09 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.486e-06/0.2842, allocations: 4 kB / 1.17 GB, free: 3.086 MB / 0.92 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.674e-05/0.2843, allocations: 117.8 kB / 1.17 GB, free: 2.961 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.651e-05/0.2843, allocations: 7.953 kB / 1.17 GB, free: 2.953 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003646/0.2847, allocations: 101.5 kB / 1.17 GB, free: 2.84 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.898e-06/0.2847, allocations: 7.938 kB / 1.17 GB, free: 2.832 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.2847, allocations: 0 / 1.17 GB, free: 2.832 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.2847, allocations: 0 / 1.17 GB, free: 2.832 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001723/0.2849, allocations: 173.6 kB / 1.17 GB, free: 2.613 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.2849, allocations: 4 kB / 1.17 GB, free: 2.609 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.511e-05/0.285, allocations: 19.92 kB / 1.17 GB, free: 2.59 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.356e-06/0.285, allocations: 4 kB / 1.17 GB, free: 2.586 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.582e-06/0.285, allocations: 0 / 1.17 GB, free: 2.586 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.285, allocations: 0 / 1.17 GB, free: 2.586 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.285, allocations: 0 / 1.17 GB, free: 2.586 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000377/0.2854, allocations: 199.4 kB / 1.171 GB, free: 2.375 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.301e-05/0.2855, allocations: 81.05 kB / 1.171 GB, free: 2.277 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.396e-05/0.2855, allocations: 4 kB / 1.171 GB, free: 2.273 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000104/0.2856, allocations: 11.98 kB / 1.171 GB, free: 2.262 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.089e-05/0.2856, allocations: 7.984 kB / 1.171 GB, free: 2.254 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.948e-06/0.2856, allocations: 0 / 1.171 GB, free: 2.254 MB / 0.92 GB Notification: Performance of sorting global known variables: time 5.419e-05/0.2857, allocations: 91.22 kB / 1.171 GB, free: 2.164 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2857, allocations: 4 kB / 1.171 GB, free: 2.16 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.000204/0.2859, allocations: 4 kB / 1.171 GB, free: 2.156 MB / 0.92 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.0006801/0.2866, allocations: 0.7321 MB / 1.172 GB, free: 1.398 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0003294/0.2869, allocations: 71.95 kB / 1.172 GB, free: 1.328 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.2869, allocations: 0 / 1.172 GB, free: 1.328 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0001505/0.2871, allocations: 39.89 kB / 1.172 GB, free: 1.289 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000279/0.2874, allocations: 14.66 kB / 1.172 GB, free: 1.277 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000398/0.2878, allocations: 149.6 kB / 1.172 GB, free: 1.094 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002738/0.2881, allocations: 0.6807 MB / 1.172 GB, free: 396 kB / 0.92 GB Notification: Performance of simCode: alias equations: time 2.735e-05/0.2881, allocations: 4 kB / 1.172 GB, free: 392 kB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.285e-05/0.2882, allocations: 19.36 kB / 1.172 GB, free: 372 kB / 0.92 GB Notification: Performance of SimCode: time 2.21e-07/0.2882, allocations: 0 / 1.172 GB, free: 372 kB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.988/1.276, allocations: 1.612 MB / 1.174 GB, free: 14.83 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.51/11.79, allocations: 3.625 kB / 1.174 GB, free: 14.83 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Max.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Max_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Max_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Max.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Max_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Max.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Max.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches