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: 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.008756/0.008756, allocations: 101.2 kB / 15.73 MB, free: 6.047 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.00173/0.001731, allocations: 194 kB / 16.67 MB, free: 5.977 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.516/1.516, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.919/2.919, allocations: 461.9 MB / 0.7347 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001983/0.001984, allocations: 67.89 kB / 1.054 GB, free: 7.105 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4034/0.4054, allocations: 157.4 MB / 1.208 GB, free: 9.602 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Max): time 0.002195/0.4076, allocations: 0.7023 MB / 1.208 GB, free: 8.898 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001056/0.4087, allocations: 0.7923 MB / 1.209 GB, free: 8.094 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.816e-05/0.4088, allocations: 0 / 1.209 GB, free: 8.094 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.22e-05/0.4088, allocations: 7.938 kB / 1.209 GB, free: 8.086 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 6.831e-05/0.4089, allocations: 7.922 kB / 1.209 GB, free: 8.078 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001051/0.409, allocations: 11.98 kB / 1.209 GB, free: 8.066 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 9.021e-05/0.4091, allocations: 47.8 kB / 1.209 GB, free: 8.02 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001189/0.4092, allocations: 19.97 kB / 1.209 GB, free: 8 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 6.715e-05/0.4093, allocations: 11.98 kB / 1.209 GB, free: 7.988 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 6.488e-05/0.4094, allocations: 23.92 kB / 1.209 GB, free: 7.965 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.867e-05/0.4094, allocations: 0 / 1.209 GB, free: 7.965 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.012e-05/0.4094, allocations: 4 kB / 1.209 GB, free: 7.961 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.115e-05/0.4094, allocations: 15.92 kB / 1.209 GB, free: 7.945 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.465e-05/0.4095, allocations: 11.94 kB / 1.209 GB, free: 7.934 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 9.962e-05/0.4096, allocations: 51.8 kB / 1.209 GB, free: 7.883 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.4096, allocations: 4 kB / 1.209 GB, free: 7.879 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.643e-06/0.4096, allocations: 0 / 1.209 GB, free: 7.879 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.81e-06/0.4096, allocations: 0 / 1.209 GB, free: 7.879 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.0005462/0.4101, allocations: 359.4 kB / 1.21 GB, free: 7.477 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.932e-05/0.4102, allocations: 8.625 kB / 1.21 GB, free: 7.469 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.418e-05/0.4102, allocations: 8.844 kB / 1.21 GB, free: 7.461 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001218/0.4104, allocations: 168.2 kB / 1.21 GB, free: 7.258 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.208e-05/0.4104, allocations: 4.312 kB / 1.21 GB, free: 7.254 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.101e-05/0.4104, allocations: 12.31 kB / 1.21 GB, free: 7.242 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002514/0.4107, allocations: 74.2 kB / 1.21 GB, free: 7.164 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.684e-06/0.4107, allocations: 192 / 1.21 GB, free: 7.164 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.145e-05/0.4107, allocations: 3.938 kB / 1.21 GB, free: 7.16 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.4107, allocations: 4 kB / 1.21 GB, free: 7.156 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000282/0.411, allocations: 59.94 kB / 1.21 GB, free: 7.098 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004276/0.4114, allocations: 265 kB / 1.21 GB, free: 6.789 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002045/0.4116, allocations: 62.41 kB / 1.21 GB, free: 6.719 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001493/0.4118, allocations: 40.92 kB / 1.21 GB, free: 6.676 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.178e-05/0.4118, allocations: 3.984 kB / 1.21 GB, free: 6.672 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.135e-05/0.4119, allocations: 34.56 kB / 1.211 GB, free: 6.629 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=3): time 1.212e-06/0.4119, allocations: 0 / 1.211 GB, free: 6.629 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3): time 0.0005737/0.4124, allocations: 129.7 kB / 1.211 GB, free: 6.496 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.193e-05/0.4125, allocations: 51.41 kB / 1.211 GB, free: 6.434 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001294/0.4126, allocations: 109.8 kB / 1.211 GB, free: 6.316 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.548e-05/0.4127, allocations: 25.7 kB / 1.211 GB, free: 6.285 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.301e-05/0.4127, allocations: 92.03 kB / 1.211 GB, free: 6.191 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.277e-05/0.4128, allocations: 7.906 kB / 1.211 GB, free: 6.184 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.559e-05/0.4128, allocations: 13.72 kB / 1.211 GB, free: 6.164 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001343/0.4129, allocations: 314.8 kB / 1.211 GB, free: 5.848 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001466/0.4131, allocations: 39.95 kB / 1.211 GB, free: 5.809 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001327/0.4132, allocations: 32 kB / 1.211 GB, free: 5.777 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000268/0.4135, allocations: 68.78 kB / 1.211 GB, free: 5.707 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.428e-06/0.4135, allocations: 3.938 kB / 1.211 GB, free: 5.703 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003274/0.4138, allocations: 101.6 kB / 1.211 GB, free: 5.598 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/0.4139, allocations: 7.938 kB / 1.211 GB, free: 5.59 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.4139, allocations: 3.984 kB / 1.211 GB, free: 5.586 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.558e-05/0.4139, allocations: 0 / 1.211 GB, free: 5.586 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001305/0.414, allocations: 15.98 kB / 1.211 GB, free: 5.57 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.241e-06/0.4141, allocations: 0 / 1.211 GB, free: 5.57 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.685e-05/0.4141, allocations: 19.89 kB / 1.212 GB, free: 5.551 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.875e-06/0.4141, allocations: 0 / 1.212 GB, free: 5.551 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 8.906e-05/0.4142, allocations: 117.8 kB / 1.212 GB, free: 5.426 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.251e-05/0.4143, allocations: 0 / 1.212 GB, free: 5.426 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003703/0.4146, allocations: 105.5 kB / 1.212 GB, free: 5.309 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.618e-06/0.4147, allocations: 11.92 kB / 1.212 GB, free: 5.297 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.4147, allocations: 0 / 1.212 GB, free: 5.297 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.4147, allocations: 0 / 1.212 GB, free: 5.297 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001788/0.4149, allocations: 165.6 kB / 1.212 GB, free: 5.086 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.4149, allocations: 0 / 1.212 GB, free: 5.086 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.27e-05/0.415, allocations: 15.98 kB / 1.212 GB, free: 5.07 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.415, allocations: 0 / 1.212 GB, free: 5.07 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.987e-06/0.415, allocations: 7.938 kB / 1.212 GB, free: 5.062 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.584e-06/0.415, allocations: 3.984 kB / 1.212 GB, free: 5.059 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.415, allocations: 0 / 1.212 GB, free: 5.059 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003847/0.4154, allocations: 199.3 kB / 1.212 GB, free: 4.848 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 3.844e-05/0.4154, allocations: 81.05 kB / 1.212 GB, free: 4.75 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.483e-05/0.4155, allocations: 4 kB / 1.212 GB, free: 4.746 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000106/0.4156, allocations: 19.97 kB / 1.212 GB, free: 4.727 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.461e-05/0.4156, allocations: 4 kB / 1.212 GB, free: 4.723 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.088e-06/0.4156, allocations: 0 / 1.212 GB, free: 4.723 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 5.791e-05/0.4157, allocations: 99.19 kB / 1.212 GB, free: 4.625 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4157, allocations: 0 / 1.212 GB, free: 4.625 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002141/0.4159, allocations: 8 kB / 1.212 GB, free: 4.617 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.0001626/0.4161, allocations: 96.94 kB / 1.212 GB, free: 4.516 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0003579/0.4165, allocations: 71.92 kB / 1.212 GB, free: 4.445 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.4165, allocations: 0 / 1.212 GB, free: 4.445 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001499/0.4166, allocations: 35.95 kB / 1.213 GB, free: 4.41 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003274/0.417, allocations: 11.94 kB / 1.213 GB, free: 4.398 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000363/0.4173, allocations: 145.6 kB / 1.213 GB, free: 4.23 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002633/0.4176, allocations: 0.6845 MB / 1.213 GB, free: 3.52 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 3.117e-05/0.4176, allocations: 3.984 kB / 1.213 GB, free: 3.516 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.201e-05/0.4177, allocations: 11.44 kB / 1.213 GB, free: 3.504 MB / 0.9669 GB Notification: Performance of SimCode: time 2.4e-07/0.4177, allocations: 0 / 1.213 GB, free: 3.504 MB / 0.9669 GB Notification: Performance of Templates: time 0.002862/0.4205, allocations: 0.7087 MB / 1.214 GB, free: 2.805 MB / 0.9669 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 -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/jenkins/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