Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Continuous.Validation.Max,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Max",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Max,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_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.007555/0.007555, allocations: 105.5 kB / 15.74 MB, free: 6.488 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.001682/0.001682, allocations: 196 kB / 16.68 MB, free: 6.375 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.844/1.844, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 3.408/3.408, allocations: 390.2 MB / 0.6648 GB, free: 160 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002017/0.002017, allocations: 64.33 kB / 0.9504 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2983/0.3004, allocations: 140.4 MB / 1.088 GB, free: 1.891 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Max): time 0.001804/0.3022, allocations: 0.693 MB / 1.088 GB, free: 1.199 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.00147/0.3037, allocations: 0.816 MB / 1.089 GB, free: 380 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.602e-05/0.3038, allocations: 0 / 1.089 GB, free: 380 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.137e-05/0.3038, allocations: 0 / 1.089 GB, free: 380 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 9.493e-05/0.304, allocations: 7.875 kB / 1.089 GB, free: 372 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.000145/0.3041, allocations: 15.98 kB / 1.089 GB, free: 356 kB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001329/0.3043, allocations: 47.84 kB / 1.089 GB, free: 308 kB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001357/0.3044, allocations: 11.98 kB / 1.089 GB, free: 296 kB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 8.7e-05/0.3045, allocations: 15.98 kB / 1.089 GB, free: 280 kB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 7.198e-05/0.3046, allocations: 19.92 kB / 1.089 GB, free: 260 kB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.451e-05/0.3046, allocations: 11.88 kB / 1.089 GB, free: 248 kB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 1.745e-05/0.3047, allocations: 4 kB / 1.089 GB, free: 244 kB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 2.411e-05/0.3047, allocations: 7.984 kB / 1.089 GB, free: 236 kB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 4.74e-05/0.3047, allocations: 11.94 kB / 1.089 GB, free: 224 kB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001332/0.3049, allocations: 47.73 kB / 1.089 GB, free: 176 kB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.3049, allocations: 4 kB / 1.089 GB, free: 172 kB / 0.8419 GB Notification: Performance of FrontEnd: time 1.923e-06/0.3049, allocations: 0 / 1.089 GB, free: 172 kB / 0.8419 GB Notification: Performance of Transformations before backend: time 7.163e-06/0.3049, allocations: 0 / 1.089 GB, free: 172 kB / 0.8419 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.0007021/0.3056, allocations: 358.3 kB / 1.09 GB, free: 15.77 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.032e-05/0.3057, allocations: 8.031 kB / 1.09 GB, free: 15.76 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.847e-05/0.3058, allocations: 34.75 kB / 1.09 GB, free: 15.72 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.978e-05/0.3058, allocations: 4.844 kB / 1.09 GB, free: 15.71 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001616/0.306, allocations: 181.1 kB / 1.09 GB, free: 15.5 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.548e-05/0.306, allocations: 4.375 kB / 1.09 GB, free: 15.5 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.724e-05/0.306, allocations: 4.375 kB / 1.09 GB, free: 15.49 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000362/0.3064, allocations: 66.22 kB / 1.09 GB, free: 15.42 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.146e-05/0.3064, allocations: 3.938 kB / 1.09 GB, free: 15.42 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.506e-05/0.3065, allocations: 0 / 1.09 GB, free: 15.42 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.3065, allocations: 0 / 1.09 GB, free: 15.42 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004603/0.3069, allocations: 71.86 kB / 1.09 GB, free: 15.35 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000501/0.3075, allocations: 276.8 kB / 1.09 GB, free: 15.03 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002573/0.3077, allocations: 54.53 kB / 1.09 GB, free: 14.96 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002079/0.308, allocations: 40.92 kB / 1.09 GB, free: 14.92 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2e-05/0.308, allocations: 0 / 1.09 GB, free: 14.92 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.899e-05/0.308, allocations: 34.5 kB / 1.09 GB, free: 14.88 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 1.212e-06/0.308, allocations: 0 / 1.09 GB, free: 14.88 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.0007214/0.3088, allocations: 129.6 kB / 1.09 GB, free: 14.75 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.379e-05/0.3088, allocations: 55.41 kB / 1.09 GB, free: 14.68 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001021/0.3089, allocations: 109.8 kB / 1.091 GB, free: 14.56 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.716e-05/0.309, allocations: 25.7 kB / 1.091 GB, free: 14.53 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.245e-05/0.309, allocations: 84.14 kB / 1.091 GB, free: 14.45 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.597e-05/0.3091, allocations: 11.81 kB / 1.091 GB, free: 14.43 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.846e-05/0.3091, allocations: 17.7 kB / 1.091 GB, free: 14.41 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001196/0.3092, allocations: 318.8 kB / 1.091 GB, free: 14.09 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002083/0.3095, allocations: 27.97 kB / 1.091 GB, free: 14.06 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001871/0.3097, allocations: 39.89 kB / 1.091 GB, free: 14.02 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003896/0.3101, allocations: 72.66 kB / 1.091 GB, free: 13.95 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.3101, allocations: 4 kB / 1.091 GB, free: 13.95 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000457/0.3105, allocations: 93.62 kB / 1.091 GB, free: 13.85 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.06e-05/0.3106, allocations: 8 kB / 1.091 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.3106, allocations: 0 / 1.091 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.815e-05/0.3106, allocations: 0 / 1.091 GB, free: 13.84 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001668/0.3108, allocations: 19.92 kB / 1.091 GB, free: 13.82 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.027e-06/0.3108, allocations: 4 kB / 1.091 GB, free: 13.82 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001115/0.3109, allocations: 11.97 kB / 1.091 GB, free: 13.8 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.068e-05/0.311, allocations: 4 kB / 1.091 GB, free: 13.8 MB / 0.8575 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 0.0001/0.3111, allocations: 123.4 kB / 1.091 GB, free: 13.67 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.921e-05/0.3111, allocations: 7.906 kB / 1.091 GB, free: 13.66 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004769/0.3116, allocations: 101.8 kB / 1.092 GB, free: 13.55 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.3116, allocations: 4.047 kB / 1.092 GB, free: 13.55 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.155e-06/0.3116, allocations: 3.984 kB / 1.092 GB, free: 13.55 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.3117, allocations: 0 / 1.092 GB, free: 13.55 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002448/0.3119, allocations: 173.6 kB / 1.092 GB, free: 13.33 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.3119, allocations: 0 / 1.092 GB, free: 13.33 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001255/0.3121, allocations: 11.98 kB / 1.092 GB, free: 13.32 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.858e-06/0.3121, allocations: 4 kB / 1.092 GB, free: 13.31 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.007e-05/0.3121, allocations: 0 / 1.092 GB, free: 13.31 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.454e-06/0.3121, allocations: 0 / 1.092 GB, free: 13.31 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.3121, allocations: 4 kB / 1.092 GB, free: 13.31 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004555/0.3126, allocations: 199.3 kB / 1.092 GB, free: 13.1 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 5.694e-05/0.3126, allocations: 85.02 kB / 1.092 GB, free: 13 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.858e-05/0.3127, allocations: 0 / 1.092 GB, free: 13 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001519/0.3128, allocations: 11.98 kB / 1.092 GB, free: 12.98 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.836e-05/0.3129, allocations: 11.98 kB / 1.092 GB, free: 12.97 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.455e-06/0.3129, allocations: 4 kB / 1.092 GB, free: 12.97 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.571e-05/0.313, allocations: 87.28 kB / 1.092 GB, free: 12.88 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.41e-07/0.313, allocations: 0 / 1.092 GB, free: 12.88 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003357/0.3133, allocations: 4 kB / 1.092 GB, free: 12.88 MB / 0.8575 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.0008892/0.3142, allocations: 0.7319 MB / 1.093 GB, free: 12.12 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0005075/0.3148, allocations: 71.92 kB / 1.093 GB, free: 12.05 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 5.691e-06/0.3148, allocations: 4 kB / 1.093 GB, free: 12.05 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001972/0.315, allocations: 39.89 kB / 1.093 GB, free: 12.01 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004508/0.3154, allocations: 9.719 kB / 1.093 GB, free: 12 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006636/0.3161, allocations: 163.1 kB / 1.093 GB, free: 11.8 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003164/0.3165, allocations: 0.6768 MB / 1.094 GB, free: 11.1 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 4.074e-05/0.3165, allocations: 8 kB / 1.094 GB, free: 11.09 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.447e-05/0.3166, allocations: 15.44 kB / 1.094 GB, free: 11.07 MB / 0.8575 GB Notification: Performance of SimCode: time 4.1e-07/0.3166, allocations: 0 / 1.094 GB, free: 11.07 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9179/1.234, allocations: 1.632 MB / 1.095 GB, free: 9.535 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.65/19.88, allocations: 9.562 kB / 1.095 GB, free: 9.531 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Max_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Max_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Max.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Max_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Max.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches