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: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Max,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|max1.u1|max1.u2|max1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Max") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.Max,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|max1.u1|max1.u2|max1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Max") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007209/0.007209, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.001211/0.001211, allocations: 195.2 kB / 16.68 MB, free: 5.52 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.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.492/2.492, allocations: 390.2 MB / 0.6648 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001343/0.001342, allocations: 71.89 kB / 0.9509 GB, free: 7.574 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.106/1.108, allocations: 140.4 MB / 1.088 GB, free: 5.516 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Max): time 0.002694/1.111, allocations: 0.7019 MB / 1.089 GB, free: 5.066 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001489/1.112, allocations: 0.8068 MB / 1.089 GB, free: 4.457 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.464e-05/1.112, allocations: 0.7812 kB / 1.089 GB, free: 4.457 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.581e-05/1.112, allocations: 4.641 kB / 1.089 GB, free: 4.453 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001035/1.112, allocations: 6.734 kB / 1.089 GB, free: 4.449 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001493/1.112, allocations: 13.42 kB / 1.089 GB, free: 4.441 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001235/1.113, allocations: 47.38 kB / 1.09 GB, free: 4.418 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001779/1.113, allocations: 10.62 kB / 1.09 GB, free: 4.414 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001222/1.113, allocations: 17.67 kB / 1.09 GB, free: 4.406 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 9.306e-05/1.113, allocations: 26.97 kB / 1.09 GB, free: 4.391 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.683e-05/1.113, allocations: 3.875 kB / 1.09 GB, free: 4.391 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.439e-05/1.113, allocations: 3.219 kB / 1.09 GB, free: 4.391 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.289e-05/1.113, allocations: 7.156 kB / 1.09 GB, free: 4.387 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.214e-05/1.113, allocations: 17.81 kB / 1.09 GB, free: 4.375 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001644/1.113, allocations: 44.23 kB / 1.09 GB, free: 4.355 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.283e-06/1.113, allocations: 0.9375 kB / 1.09 GB, free: 4.355 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.575e-06/1.113, allocations: 0.8125 kB / 1.09 GB, free: 4.355 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.574e-06/1.113, allocations: 0 / 1.09 GB, free: 4.355 MB / 0.8575 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.0005064/1.114, allocations: 360.7 kB / 1.09 GB, free: 3.992 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.931e-05/1.114, allocations: 9.156 kB / 1.09 GB, free: 3.992 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.027e-05/1.114, allocations: 6.969 kB / 1.09 GB, free: 3.988 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001032/1.114, allocations: 174.2 kB / 1.09 GB, free: 3.785 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.327e-05/1.114, allocations: 5.312 kB / 1.09 GB, free: 3.781 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.301e-05/1.114, allocations: 2.406 kB / 1.09 GB, free: 3.781 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002919/1.114, allocations: 69.2 kB / 1.09 GB, free: 3.742 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/1.114, allocations: 192 / 1.09 GB, free: 3.742 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.379e-05/1.114, allocations: 5 kB / 1.09 GB, free: 3.738 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.711e-06/1.114, allocations: 4 kB / 1.09 GB, free: 3.734 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002937/1.115, allocations: 67.33 kB / 1.09 GB, free: 3.723 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003741/1.115, allocations: 278.4 kB / 1.091 GB, free: 3.43 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002019/1.115, allocations: 62.31 kB / 1.091 GB, free: 3.391 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001478/1.116, allocations: 42.12 kB / 1.091 GB, free: 3.375 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.542e-05/1.116, allocations: 0.5625 kB / 1.091 GB, free: 3.375 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.161e-05/1.116, allocations: 32.17 kB / 1.091 GB, free: 3.336 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 1.483e-06/1.116, allocations: 0 / 1.091 GB, free: 3.336 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.0005732/1.116, allocations: 133.6 kB / 1.091 GB, free: 3.285 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.399e-05/1.116, allocations: 51.41 kB / 1.091 GB, free: 3.223 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001174/1.116, allocations: 111.9 kB / 1.091 GB, free: 3.117 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.423e-05/1.116, allocations: 25.7 kB / 1.091 GB, free: 3.086 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.057e-05/1.116, allocations: 83.8 kB / 1.091 GB, free: 3.004 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.32e-05/1.116, allocations: 17.61 kB / 1.091 GB, free: 2.988 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.747e-05/1.117, allocations: 13.64 kB / 1.091 GB, free: 2.973 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 9.79e-05/1.117, allocations: 317.1 kB / 1.091 GB, free: 2.656 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001663/1.117, allocations: 35.67 kB / 1.091 GB, free: 2.648 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001527/1.117, allocations: 31.47 kB / 1.091 GB, free: 2.645 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003059/1.117, allocations: 67.42 kB / 1.092 GB, free: 2.629 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/1.117, allocations: 7.938 kB / 1.092 GB, free: 2.621 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003476/1.118, allocations: 97.59 kB / 1.092 GB, free: 2.578 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.859e-05/1.118, allocations: 5.625 kB / 1.092 GB, free: 2.578 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.714e-06/1.118, allocations: 0 / 1.092 GB, free: 2.578 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.978e-05/1.118, allocations: 1.922 kB / 1.092 GB, free: 2.578 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000168/1.118, allocations: 15.14 kB / 1.092 GB, free: 2.578 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.707e-06/1.118, allocations: 1.031 kB / 1.092 GB, free: 2.578 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.727e-05/1.118, allocations: 15.19 kB / 1.092 GB, free: 2.574 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.388e-05/1.118, allocations: 0.9375 kB / 1.092 GB, free: 2.574 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.0001019/1.118, allocations: 116.8 kB / 1.092 GB, free: 2.453 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.83e-05/1.118, allocations: 6.609 kB / 1.092 GB, free: 2.449 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004799/1.119, allocations: 112.8 kB / 1.092 GB, free: 2.391 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.532e-06/1.119, allocations: 0.6875 kB / 1.092 GB, free: 2.391 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.016e-05/1.119, allocations: 0 / 1.092 GB, free: 2.391 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/1.119, allocations: 1.344 kB / 1.092 GB, free: 2.391 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001816/1.119, allocations: 166.8 kB / 1.092 GB, free: 2.195 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/1.119, allocations: 0 / 1.092 GB, free: 2.195 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.505e-05/1.119, allocations: 16.56 kB / 1.092 GB, free: 2.195 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/1.119, allocations: 0 / 1.092 GB, free: 2.195 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.042e-05/1.119, allocations: 4.875 kB / 1.092 GB, free: 2.191 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.039e-06/1.119, allocations: 9.203 kB / 1.092 GB, free: 2.184 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.532e-06/1.119, allocations: 4 kB / 1.092 GB, free: 2.18 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003549/1.119, allocations: 190.8 kB / 1.092 GB, free: 2.039 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.819e-05/1.119, allocations: 86.83 kB / 1.092 GB, free: 1.938 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.716e-05/1.119, allocations: 1.547 kB / 1.092 GB, free: 1.938 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001091/1.12, allocations: 27.8 kB / 1.092 GB, free: 1.922 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.205e-05/1.12, allocations: 7.188 kB / 1.092 GB, free: 1.918 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.801e-06/1.12, allocations: 1.375 kB / 1.092 GB, free: 1.918 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.676e-05/1.12, allocations: 88.47 kB / 1.093 GB, free: 1.84 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.21e-07/1.12, allocations: 0 / 1.093 GB, free: 1.84 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002316/1.12, allocations: 6.5 kB / 1.093 GB, free: 1.84 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.000198/1.12, allocations: 99.05 kB / 1.093 GB, free: 1.754 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003621/1.12, allocations: 71.22 kB / 1.093 GB, free: 1.742 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/1.121, allocations: 0 / 1.093 GB, free: 1.742 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001553/1.121, allocations: 35.67 kB / 1.093 GB, free: 1.738 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002973/1.121, allocations: 19.92 kB / 1.093 GB, free: 1.723 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004364/1.121, allocations: 118.4 kB / 1.093 GB, free: 1.613 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001666/1.122, allocations: 0.6805 MB / 1.094 GB, free: 0.918 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.471e-05/1.122, allocations: 2.375 kB / 1.094 GB, free: 0.918 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.385e-05/1.122, allocations: 12.94 kB / 1.094 GB, free: 0.9102 MB / 0.8575 GB Notification: Performance of SimCode: time 6.01e-07/1.122, allocations: 0.9062 kB / 1.094 GB, free: 0.9102 MB / 0.8575 GB Notification: Performance of Templates: time 0.004952/1.127, allocations: 0.6847 MB / 1.094 GB, free: 0.832 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Max.makefile (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 & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Max -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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/jenkins/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