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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Max,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|max1.u1|max1.u2|max1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Max,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|max1.u1|max1.u2|max1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001709/0.001709, allocations: 102.1 kB / 16.35 MB, free: 5.824 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.001722/0.001722, allocations: 193.9 kB / 17.29 MB, free: 5.48 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.538/1.538, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.616/2.616, allocations: 442.6 MB / 0.7165 GB, free: 14.6 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00128/0.001281, allocations: 63.97 kB / 0.8773 GB, free: 10.92 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4012/0.4025, allocations: 153 MB / 1.027 GB, free: 2.004 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Max): time 0.001877/0.4044, allocations: 0.7107 MB / 1.027 GB, free: 1.297 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0008011/0.4052, allocations: 0.8103 MB / 1.028 GB, free: 488 kB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.291e-05/0.4053, allocations: 0 / 1.028 GB, free: 488 kB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.331e-05/0.4053, allocations: 3.938 kB / 1.028 GB, free: 484 kB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 6.222e-05/0.4054, allocations: 7.922 kB / 1.028 GB, free: 476 kB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001003/0.4055, allocations: 11.98 kB / 1.028 GB, free: 464 kB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 8.912e-05/0.4056, allocations: 51.78 kB / 1.028 GB, free: 412 kB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001058/0.4057, allocations: 12 kB / 1.028 GB, free: 400 kB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 6.251e-05/0.4058, allocations: 19.92 kB / 1.028 GB, free: 380 kB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 4.796e-05/0.4058, allocations: 19.91 kB / 1.028 GB, free: 360 kB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.918e-05/0.4059, allocations: 4 kB / 1.028 GB, free: 356 kB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.226e-05/0.4059, allocations: 4 kB / 1.028 GB, free: 352 kB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.75e-05/0.4059, allocations: 4 kB / 1.028 GB, free: 348 kB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 4.391e-05/0.4059, allocations: 27.84 kB / 1.028 GB, free: 320 kB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 8.397e-05/0.406, allocations: 35.88 kB / 1.028 GB, free: 284 kB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.406, allocations: 0 / 1.028 GB, free: 284 kB / 0.795 GB Notification: Performance of FrontEnd: time 1.573e-06/0.406, allocations: 0 / 1.028 GB, free: 284 kB / 0.795 GB Notification: Performance of Transformations before backend: time 6.783e-06/0.4061, allocations: 4 kB / 1.028 GB, free: 280 kB / 0.795 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.0005202/0.4066, allocations: 364.6 kB / 1.029 GB, free: 15.87 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.412e-05/0.4066, allocations: 12.03 kB / 1.029 GB, free: 15.86 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.072e-05/0.4067, allocations: 4.844 kB / 1.029 GB, free: 15.85 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001134/0.4068, allocations: 176.2 kB / 1.029 GB, free: 15.64 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.061e-05/0.4068, allocations: 384 / 1.029 GB, free: 15.64 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.722e-05/0.4068, allocations: 8.359 kB / 1.029 GB, free: 15.63 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002316/0.4071, allocations: 70.22 kB / 1.029 GB, free: 15.56 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.311e-06/0.4071, allocations: 192 / 1.029 GB, free: 15.56 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.03e-05/0.4071, allocations: 3.938 kB / 1.029 GB, free: 15.55 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.508e-06/0.4071, allocations: 0 / 1.029 GB, free: 15.55 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002521/0.4074, allocations: 63.92 kB / 1.029 GB, free: 15.49 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003494/0.4077, allocations: 280.8 kB / 1.029 GB, free: 15.17 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002501/0.408, allocations: 54.47 kB / 1.029 GB, free: 15.11 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001377/0.4081, allocations: 40.92 kB / 1.029 GB, free: 15.06 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.048e-05/0.4081, allocations: 0 / 1.029 GB, free: 15.06 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.495e-05/0.4082, allocations: 34.56 kB / 1.029 GB, free: 15.02 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 8.82e-07/0.4082, allocations: 0 / 1.029 GB, free: 15.02 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0004962/0.4087, allocations: 129.5 kB / 1.03 GB, free: 14.89 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.75e-05/0.4087, allocations: 55.41 kB / 1.03 GB, free: 14.82 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.728e-05/0.4088, allocations: 113.8 kB / 1.03 GB, free: 14.7 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.211e-05/0.4088, allocations: 25.7 kB / 1.03 GB, free: 14.67 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.442e-05/0.4089, allocations: 92.08 kB / 1.03 GB, free: 14.57 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.703e-05/0.4089, allocations: 7.812 kB / 1.03 GB, free: 14.57 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.497e-05/0.409, allocations: 21.7 kB / 1.03 GB, free: 14.54 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001109/0.4091, allocations: 314.8 kB / 1.03 GB, free: 14.22 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001372/0.4092, allocations: 27.97 kB / 1.03 GB, free: 14.2 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00012/0.4093, allocations: 39.95 kB / 1.03 GB, free: 14.16 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002317/0.4096, allocations: 64.78 kB / 1.03 GB, free: 14.09 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.4096, allocations: 3.938 kB / 1.03 GB, free: 14.09 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002779/0.4099, allocations: 101.6 kB / 1.03 GB, free: 13.98 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.283e-05/0.4099, allocations: 8 kB / 1.03 GB, free: 13.97 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.4099, allocations: 0 / 1.03 GB, free: 13.97 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.093e-05/0.4099, allocations: 0 / 1.03 GB, free: 13.97 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001174/0.4101, allocations: 15.98 kB / 1.03 GB, free: 13.96 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.12e-06/0.4101, allocations: 0 / 1.03 GB, free: 13.96 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.351e-05/0.4101, allocations: 15.97 kB / 1.03 GB, free: 13.94 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.979e-06/0.4102, allocations: 4 kB / 1.03 GB, free: 13.94 MB / 0.8106 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.984e-05/0.4102, allocations: 117.7 kB / 1.031 GB, free: 13.81 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.612e-05/0.4103, allocations: 7.906 kB / 1.031 GB, free: 13.8 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003453/0.4106, allocations: 105.5 kB / 1.031 GB, free: 13.69 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.017e-06/0.4106, allocations: 4.375 kB / 1.031 GB, free: 13.69 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.646e-06/0.4106, allocations: 0 / 1.031 GB, free: 13.69 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.4107, allocations: 4 kB / 1.031 GB, free: 13.68 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001685/0.4108, allocations: 173.6 kB / 1.031 GB, free: 13.46 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-06/0.4108, allocations: 0 / 1.031 GB, free: 13.46 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.429e-05/0.4109, allocations: 11.98 kB / 1.031 GB, free: 13.45 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.991e-06/0.4109, allocations: 7.984 kB / 1.031 GB, free: 13.45 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.286e-06/0.411, allocations: 0 / 1.031 GB, free: 13.45 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.754e-06/0.411, allocations: 0 / 1.031 GB, free: 13.45 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.411, allocations: 0 / 1.031 GB, free: 13.45 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003216/0.4113, allocations: 199.4 kB / 1.031 GB, free: 13.23 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.327e-05/0.4113, allocations: 84.95 kB / 1.031 GB, free: 13.13 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.456e-05/0.4114, allocations: 4 kB / 1.031 GB, free: 13.13 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.451e-05/0.4115, allocations: 7.984 kB / 1.031 GB, free: 13.12 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.065e-05/0.4115, allocations: 11.92 kB / 1.031 GB, free: 13.11 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.817e-06/0.4115, allocations: 0 / 1.031 GB, free: 13.11 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.199e-05/0.4116, allocations: 91.28 kB / 1.031 GB, free: 13.02 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4116, allocations: 3.938 kB / 1.031 GB, free: 13.02 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002135/0.4118, allocations: 4 kB / 1.031 GB, free: 13.01 MB / 0.8106 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.0001457/0.412, allocations: 107.2 kB / 1.031 GB, free: 12.89 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003068/0.4123, allocations: 67.92 kB / 1.031 GB, free: 12.83 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.4123, allocations: 0 / 1.031 GB, free: 12.83 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001379/0.4124, allocations: 35.97 kB / 1.031 GB, free: 12.79 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002898/0.4127, allocations: 15.88 kB / 1.031 GB, free: 12.78 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003249/0.4131, allocations: 129.4 kB / 1.032 GB, free: 12.62 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002956/0.4134, allocations: 0.6846 MB / 1.032 GB, free: 11.91 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.906e-05/0.4134, allocations: 0 / 1.032 GB, free: 11.91 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.009e-05/0.4134, allocations: 11.44 kB / 1.032 GB, free: 11.9 MB / 0.8106 GB Notification: Performance of SimCode: time 2.01e-07/0.4134, allocations: 0 / 1.032 GB, free: 11.9 MB / 0.8106 GB Notification: Performance of Templates: time 0.002833/0.4163, allocations: 0.6678 MB / 1.033 GB, free: 11.24 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max.makefile (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 & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > 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