Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Max",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Max,fileNamePrefix="Buildings_latest_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.006862/0.006862, allocations: 103 kB / 15.73 MB, free: 6.035 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.001407/0.001407, allocations: 190 kB / 16.67 MB, free: 5.965 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.42/1.42, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.671/2.671, allocations: 461.9 MB / 0.7348 GB, free: 14.6 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001287/0.001288, allocations: 63.91 kB / 1.054 GB, free: 7.617 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2938/0.2951, allocations: 157.4 MB / 1.207 GB, free: 10.11 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Max): time 0.001814/0.297, allocations: 0.7076 MB / 1.208 GB, free: 9.398 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0009087/0.2979, allocations: 0.8039 MB / 1.209 GB, free: 8.582 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.963e-05/0.298, allocations: 0 / 1.209 GB, free: 8.582 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.955e-05/0.298, allocations: 3.938 kB / 1.209 GB, free: 8.578 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 6.633e-05/0.2981, allocations: 11.94 kB / 1.209 GB, free: 8.566 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001046/0.2982, allocations: 11.98 kB / 1.209 GB, free: 8.555 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 8.59e-05/0.2983, allocations: 43.84 kB / 1.209 GB, free: 8.512 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001102/0.2985, allocations: 8 kB / 1.209 GB, free: 8.504 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 7.434e-05/0.2985, allocations: 23.97 kB / 1.209 GB, free: 8.48 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 5.134e-05/0.2986, allocations: 15.92 kB / 1.209 GB, free: 8.465 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.877e-05/0.2986, allocations: 4 kB / 1.209 GB, free: 8.461 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.183e-05/0.2986, allocations: 8 kB / 1.209 GB, free: 8.453 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.119e-05/0.2987, allocations: 11.92 kB / 1.209 GB, free: 8.441 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.173e-05/0.2987, allocations: 11.94 kB / 1.209 GB, free: 8.43 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 9.867e-05/0.2988, allocations: 55.73 kB / 1.209 GB, free: 8.375 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.2988, allocations: 0 / 1.209 GB, free: 8.375 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.483e-06/0.2988, allocations: 0 / 1.209 GB, free: 8.375 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.731e-06/0.2988, allocations: 0 / 1.209 GB, free: 8.375 MB / 0.9669 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.0005077/0.2993, allocations: 359.6 kB / 1.209 GB, free: 7.973 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.149e-05/0.2994, allocations: 12.62 kB / 1.209 GB, free: 7.961 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.007e-05/0.2994, allocations: 34.75 kB / 1.209 GB, free: 7.918 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.489e-05/0.2995, allocations: 0.9375 kB / 1.209 GB, free: 7.918 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000115/0.2996, allocations: 184.2 kB / 1.21 GB, free: 7.699 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.037e-05/0.2996, allocations: 384 / 1.21 GB, free: 7.699 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.412e-05/0.2996, allocations: 4.375 kB / 1.21 GB, free: 7.695 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002503/0.2999, allocations: 66.22 kB / 1.21 GB, free: 7.625 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/0.2999, allocations: 3.938 kB / 1.21 GB, free: 7.621 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.097e-05/0.2999, allocations: 0 / 1.21 GB, free: 7.621 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.2999, allocations: 7.938 kB / 1.21 GB, free: 7.613 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002862/0.3002, allocations: 63.92 kB / 1.21 GB, free: 7.551 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003423/0.3005, allocations: 268.9 kB / 1.21 GB, free: 7.238 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001912/0.3007, allocations: 50.64 kB / 1.21 GB, free: 7.18 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000148/0.3009, allocations: 40.81 kB / 1.21 GB, free: 7.137 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.329e-05/0.3009, allocations: 0 / 1.21 GB, free: 7.137 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.989e-05/0.301, allocations: 38.5 kB / 1.21 GB, free: 7.09 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=3): time 8.62e-07/0.301, allocations: 0 / 1.21 GB, free: 7.09 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3): time 0.0005377/0.3015, allocations: 133.6 kB / 1.21 GB, free: 6.953 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.787e-05/0.3015, allocations: 51.41 kB / 1.21 GB, free: 6.891 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.396e-05/0.3016, allocations: 109.8 kB / 1.21 GB, free: 6.773 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.117e-05/0.3016, allocations: 25.7 kB / 1.21 GB, free: 6.742 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 3.709e-05/0.3017, allocations: 88.14 kB / 1.21 GB, free: 6.652 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.573e-05/0.3017, allocations: 7.844 kB / 1.21 GB, free: 6.645 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.44e-05/0.3017, allocations: 25.7 kB / 1.211 GB, free: 6.613 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 8.447e-05/0.3018, allocations: 310.8 kB / 1.211 GB, free: 6.301 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001424/0.302, allocations: 31.97 kB / 1.211 GB, free: 6.27 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001363/0.3021, allocations: 35.89 kB / 1.211 GB, free: 6.234 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002693/0.3024, allocations: 76.72 kB / 1.211 GB, free: 6.156 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.035e-06/0.3024, allocations: 0 / 1.211 GB, free: 6.156 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003193/0.3027, allocations: 101.5 kB / 1.211 GB, free: 6.051 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/0.3028, allocations: 4 kB / 1.211 GB, free: 6.047 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.3028, allocations: 0 / 1.211 GB, free: 6.047 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.278e-05/0.3028, allocations: 4.328 kB / 1.211 GB, free: 6.043 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001276/0.3029, allocations: 15.98 kB / 1.211 GB, free: 6.027 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.3029, allocations: 0 / 1.211 GB, free: 6.027 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.989e-05/0.303, allocations: 15.97 kB / 1.211 GB, free: 6.012 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.987e-06/0.303, allocations: 4 kB / 1.211 GB, free: 6.008 MB / 0.9669 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 6.901e-05/0.3031, allocations: 113.7 kB / 1.211 GB, free: 5.887 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.55e-05/0.3031, allocations: 4 kB / 1.211 GB, free: 5.883 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003553/0.3035, allocations: 113.5 kB / 1.211 GB, free: 5.758 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.3035, allocations: 0 / 1.211 GB, free: 5.758 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.626e-06/0.3035, allocations: 0 / 1.211 GB, free: 5.758 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.3035, allocations: 0 / 1.211 GB, free: 5.758 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001482/0.3037, allocations: 177.5 kB / 1.211 GB, free: 5.535 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/0.3037, allocations: 4 kB / 1.211 GB, free: 5.531 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.466e-05/0.3038, allocations: 15.98 kB / 1.212 GB, free: 5.516 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.215e-06/0.3038, allocations: 4 kB / 1.212 GB, free: 5.512 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.344e-06/0.3038, allocations: 0 / 1.212 GB, free: 5.512 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.3038, allocations: 0 / 1.212 GB, free: 5.512 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.3038, allocations: 0 / 1.212 GB, free: 5.512 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003489/0.3042, allocations: 203.2 kB / 1.212 GB, free: 5.297 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 2.94e-05/0.3042, allocations: 85.11 kB / 1.212 GB, free: 5.195 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.2e-05/0.3042, allocations: 0 / 1.212 GB, free: 5.195 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000106/0.3043, allocations: 11.98 kB / 1.212 GB, free: 5.184 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.05e-05/0.3044, allocations: 3.984 kB / 1.212 GB, free: 5.18 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.088e-06/0.3044, allocations: 0 / 1.212 GB, free: 5.18 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 3.639e-05/0.3044, allocations: 87.28 kB / 1.212 GB, free: 5.094 MB / 0.9669 GB Notification: Performance of sort global known variables: time 2.1e-07/0.3044, allocations: 0 / 1.212 GB, free: 5.094 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002145/0.3047, allocations: 8 kB / 1.212 GB, free: 5.086 MB / 0.9669 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.0006028/0.3053, allocations: 0.7318 MB / 1.213 GB, free: 4.328 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0003351/0.3056, allocations: 71.92 kB / 1.213 GB, free: 4.258 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.3056, allocations: 0 / 1.213 GB, free: 4.258 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001524/0.3058, allocations: 43.89 kB / 1.213 GB, free: 4.215 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002692/0.3061, allocations: 4 kB / 1.213 GB, free: 4.211 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004301/0.3065, allocations: 178.8 kB / 1.213 GB, free: 3.996 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001889/0.3067, allocations: 0.6768 MB / 1.214 GB, free: 3.293 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 2.873e-05/0.3067, allocations: 4 kB / 1.214 GB, free: 3.289 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.87e-05/0.3068, allocations: 11.44 kB / 1.214 GB, free: 3.277 MB / 0.9669 GB Notification: Performance of SimCode: time 3e-07/0.3068, allocations: 0 / 1.214 GB, free: 3.277 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01496/0.3218, allocations: 1.656 MB / 1.215 GB, free: 1.711 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.724/8.045, allocations: 6.672 kB / 1.215 GB, free: 1.707 MB / 0.9669 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Max_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Max.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Max.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches