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: 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_10_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_10_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.009986/0.009986, allocations: 99.45 kB / 15.73 MB, free: 6.059 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.002434/0.002434, allocations: 193.5 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.493/1.493, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.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.509/2.509, allocations: 437 MB / 0.7105 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001325/0.001325, allocations: 67.89 kB / 1.019 GB, free: 9.324 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9239/0.9253, allocations: 151.6 MB / 1.167 GB, free: 3.812 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Max): time 0.001809/0.9271, allocations: 0.714 MB / 1.167 GB, free: 3.105 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0008827/0.928, allocations: 0.8078 MB / 1.168 GB, free: 2.285 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.62e-05/0.9281, allocations: 4 kB / 1.168 GB, free: 2.281 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.486e-05/0.9281, allocations: 3.938 kB / 1.168 GB, free: 2.277 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 8.235e-05/0.9282, allocations: 7.922 kB / 1.168 GB, free: 2.27 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001228/0.9283, allocations: 11.98 kB / 1.168 GB, free: 2.258 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 9.733e-05/0.9284, allocations: 43.91 kB / 1.168 GB, free: 2.215 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001421/0.9286, allocations: 16 kB / 1.168 GB, free: 2.199 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 7.504e-05/0.9287, allocations: 15.92 kB / 1.168 GB, free: 2.184 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 5.938e-05/0.9287, allocations: 23.92 kB / 1.168 GB, free: 2.16 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.149e-05/0.9288, allocations: 4 kB / 1.168 GB, free: 2.156 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.427e-05/0.9288, allocations: 4 kB / 1.168 GB, free: 2.152 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 3.392e-05/0.9288, allocations: 11.92 kB / 1.168 GB, free: 2.141 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 3.727e-05/0.9289, allocations: 15.92 kB / 1.168 GB, free: 2.125 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001145/0.929, allocations: 39.81 kB / 1.168 GB, free: 2.086 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.929, allocations: 0 / 1.168 GB, free: 2.086 MB / 0.8887 GB Notification: Performance of FrontEnd: time 7.304e-06/0.929, allocations: 3.984 kB / 1.168 GB, free: 2.082 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 6.603e-06/0.929, allocations: 7.938 kB / 1.168 GB, free: 2.074 MB / 0.8887 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.0006477/0.9297, allocations: 367.8 kB / 1.169 GB, free: 1.668 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 5.422e-05/0.9297, allocations: 12.86 kB / 1.169 GB, free: 1.656 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.65e-05/0.9298, allocations: 8.891 kB / 1.169 GB, free: 1.648 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001175/0.9299, allocations: 160.4 kB / 1.169 GB, free: 1.453 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.363e-05/0.9299, allocations: 4.375 kB / 1.169 GB, free: 1.449 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.441e-05/0.9299, allocations: 384 / 1.169 GB, free: 1.449 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002734/0.9302, allocations: 74.2 kB / 1.169 GB, free: 1.371 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.9302, allocations: 192 / 1.169 GB, free: 1.371 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.372e-05/0.9303, allocations: 7.938 kB / 1.169 GB, free: 1.363 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.9303, allocations: 0 / 1.169 GB, free: 1.363 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002809/0.9305, allocations: 67.86 kB / 1.169 GB, free: 1.297 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003561/0.9309, allocations: 268.9 kB / 1.169 GB, free: 0.9844 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000214/0.9311, allocations: 60.92 kB / 1.169 GB, free: 0.918 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001468/0.9313, allocations: 36.91 kB / 1.169 GB, free: 0.8789 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 2.118e-05/0.9313, allocations: 0 / 1.169 GB, free: 0.8789 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.054e-05/0.9314, allocations: 42.5 kB / 1.169 GB, free: 0.8281 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=3): time 2.494e-06/0.9314, allocations: 3.984 kB / 1.169 GB, free: 0.8242 MB / 0.8887 GB Notification: Performance of matching and sorting (n=3): time 0.0005346/0.9319, allocations: 125.6 kB / 1.17 GB, free: 0.6953 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.489e-05/0.9319, allocations: 51.41 kB / 1.17 GB, free: 0.6328 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.646e-05/0.932, allocations: 113.8 kB / 1.17 GB, free: 0.5117 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 3.306e-05/0.9321, allocations: 33.7 kB / 1.17 GB, free: 484 kB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 4.362e-05/0.9321, allocations: 80.14 kB / 1.17 GB, free: 400 kB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 2.237e-05/0.9322, allocations: 15.84 kB / 1.17 GB, free: 384 kB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.408e-05/0.9322, allocations: 13.72 kB / 1.17 GB, free: 364 kB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001201/0.9323, allocations: 318.8 kB / 1.17 GB, free: 36 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001581/0.9325, allocations: 31.97 kB / 1.17 GB, free: 4 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001435/0.9326, allocations: 31.95 kB / 1.17 GB, free: 15.97 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002648/0.9329, allocations: 72.73 kB / 1.17 GB, free: 15.9 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.908e-06/0.9329, allocations: 3.938 kB / 1.17 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003175/0.9332, allocations: 101.6 kB / 1.17 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/0.9333, allocations: 4 kB / 1.17 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.9333, allocations: 0 / 1.17 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.461e-05/0.9333, allocations: 0 / 1.17 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001344/0.9334, allocations: 15.98 kB / 1.17 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.946e-06/0.9334, allocations: 0 / 1.17 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.702e-05/0.9335, allocations: 15.92 kB / 1.17 GB, free: 15.75 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.145e-06/0.9335, allocations: 0 / 1.17 GB, free: 15.75 MB / 0.9044 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.943e-05/0.9336, allocations: 125.8 kB / 1.171 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.783e-05/0.9337, allocations: 3.953 kB / 1.171 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003709/0.934, allocations: 105.5 kB / 1.171 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.934, allocations: 0 / 1.171 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.9341, allocations: 0 / 1.171 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.9341, allocations: 4 kB / 1.171 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000174/0.9343, allocations: 173.5 kB / 1.171 GB, free: 15.28 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.9343, allocations: 0 / 1.171 GB, free: 15.28 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.821e-05/0.9344, allocations: 23.97 kB / 1.171 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.9344, allocations: 0 / 1.171 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.504e-06/0.9344, allocations: 0 / 1.171 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.9344, allocations: 0 / 1.171 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.9344, allocations: 0 / 1.171 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000365/0.9348, allocations: 207.3 kB / 1.171 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.299e-05/0.9348, allocations: 77.11 kB / 1.171 GB, free: 14.94 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.044e-05/0.9348, allocations: 3.984 kB / 1.171 GB, free: 14.94 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001086/0.935, allocations: 11.98 kB / 1.171 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.837e-05/0.935, allocations: 4.422 kB / 1.171 GB, free: 14.92 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.711e-06/0.935, allocations: 4 kB / 1.171 GB, free: 14.92 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 6.692e-05/0.9351, allocations: 91.27 kB / 1.171 GB, free: 14.83 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9351, allocations: 0 / 1.171 GB, free: 14.83 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002231/0.9353, allocations: 8 kB / 1.171 GB, free: 14.82 MB / 0.9044 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.0001479/0.9355, allocations: 95.25 kB / 1.171 GB, free: 14.72 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0003406/0.9358, allocations: 71.86 kB / 1.171 GB, free: 14.65 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.9358, allocations: 4 kB / 1.171 GB, free: 14.64 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001593/0.936, allocations: 40.03 kB / 1.171 GB, free: 14.61 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003415/0.9364, allocations: 11.94 kB / 1.171 GB, free: 14.59 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000347/0.9367, allocations: 117.4 kB / 1.172 GB, free: 14.45 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003409/0.9371, allocations: 0.6807 MB / 1.172 GB, free: 13.75 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 2.889e-05/0.9371, allocations: 4 kB / 1.172 GB, free: 13.74 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.541e-05/0.9371, allocations: 11.44 kB / 1.172 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of SimCode: time 5.51e-07/0.9372, allocations: 0 / 1.172 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of Templates: time 0.002729/0.9399, allocations: 0.677 MB / 1.173 GB, free: 13.06 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Max.makefile (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 & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Max -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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/jenkins/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