Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin.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.MatrixMin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|matMin.y.1.|matMin.y.2.|matMin.y.3.|matMin1.y.1.|matMin1.y.2.|matMin1.y.3.|matMin2.y.1.|matMin2.y.2.",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|matMin.y.1.|matMin.y.2.|matMin.y.3.|matMin1.y.1.|matMin1.y.2.|matMin1.y.3.|matMin2.y.1.|matMin2.y.2.",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01196/0.01196, allocations: 100.1 kB / 15.73 MB, free: 6.008 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.002232/0.002232, allocations: 198.7 kB / 16.68 MB, free: 5.93 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.456/1.456, allocations: 222.9 MB / 240.4 MB, free: 15.15 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.393/2.393, allocations: 390.2 MB / 0.6648 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001538/0.001538, allocations: 71.91 kB / 0.9509 GB, free: 7.539 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.1/1.101, allocations: 140.4 MB / 1.088 GB, free: 5.754 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin): time 0.001918/1.103, allocations: 0.7395 MB / 1.089 GB, free: 5.281 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0002795/1.103, allocations: 62.28 kB / 1.089 GB, free: 5.242 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.59e-05/1.103, allocations: 1.125 kB / 1.089 GB, free: 5.242 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001632/1.104, allocations: 14 kB / 1.089 GB, free: 5.234 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.176e-05/1.104, allocations: 11.05 kB / 1.089 GB, free: 5.23 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001707/1.104, allocations: 31.75 kB / 1.089 GB, free: 5.215 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002127/1.104, allocations: 127 kB / 1.089 GB, free: 5.164 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002814/1.104, allocations: 147.9 kB / 1.089 GB, free: 5.113 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 8.465e-05/1.104, allocations: 76.02 kB / 1.089 GB, free: 5.078 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 9.973e-05/1.105, allocations: 72.17 kB / 1.089 GB, free: 5.043 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.138e-05/1.105, allocations: 15.72 kB / 1.089 GB, free: 5.039 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 3.425e-05/1.105, allocations: 11.75 kB / 1.089 GB, free: 5.039 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 8.784e-05/1.105, allocations: 51.44 kB / 1.089 GB, free: 5.016 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001005/1.105, allocations: 84.59 kB / 1.089 GB, free: 4.957 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003223/1.105, allocations: 240.6 kB / 1.09 GB, free: 4.867 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/1.105, allocations: 1.797 kB / 1.09 GB, free: 4.867 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.763e-06/1.105, allocations: 0 / 1.09 GB, free: 4.867 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.224e-06/1.105, allocations: 0 / 1.09 GB, free: 4.867 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0005209/1.106, allocations: 0.4887 MB / 1.09 GB, free: 4.426 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.962e-05/1.106, allocations: 9.781 kB / 1.09 GB, free: 4.426 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.804e-05/1.106, allocations: 26.91 kB / 1.09 GB, free: 4.41 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002541/1.106, allocations: 250.8 kB / 1.09 GB, free: 4.184 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.194e-05/1.106, allocations: 16.73 kB / 1.09 GB, free: 4.176 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.972e-05/1.106, allocations: 16.16 kB / 1.09 GB, free: 4.172 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000552/1.107, allocations: 342.6 kB / 1.091 GB, free: 4.043 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.205e-05/1.107, allocations: 8.656 kB / 1.091 GB, free: 4.035 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.479e-05/1.107, allocations: 10.19 kB / 1.091 GB, free: 4.027 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.163e-05/1.107, allocations: 25.69 kB / 1.091 GB, free: 4.016 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004002/1.107, allocations: 263.3 kB / 1.091 GB, free: 3.969 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001223/1.108, allocations: 1.077 MB / 1.092 GB, free: 3.23 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 5.071e-05/1.108, allocations: 174.6 kB / 1.092 GB, free: 3.051 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.07e-05/1.109, allocations: 88.11 kB / 1.092 GB, free: 2.961 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.663e-05/1.109, allocations: 76.75 kB / 1.092 GB, free: 2.887 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.432e-05/1.109, allocations: 107.5 kB / 1.092 GB, free: 2.773 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=0): time 1.193e-06/1.109, allocations: 0 / 1.092 GB, free: 2.773 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0): time 9.536e-05/1.109, allocations: 61.34 kB / 1.093 GB, free: 2.719 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.963e-05/1.109, allocations: 126.7 kB / 1.093 GB, free: 2.582 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006787/1.109, allocations: 0.4934 MB / 1.093 GB, free: 2.395 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 7.093e-06/1.109, allocations: 26.45 kB / 1.093 GB, free: 2.363 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001099/1.11, allocations: 169.5 kB / 1.093 GB, free: 2.219 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.829e-06/1.11, allocations: 1.375 kB / 1.093 GB, free: 2.219 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.42e-05/1.11, allocations: 37.45 kB / 1.093 GB, free: 2.191 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 8.054e-05/1.11, allocations: 337.1 kB / 1.094 GB, free: 1.871 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.063e-05/1.11, allocations: 61.64 kB / 1.094 GB, free: 1.852 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001054/1.11, allocations: 97.62 kB / 1.094 GB, free: 1.777 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001487/1.11, allocations: 116 kB / 1.094 GB, free: 1.691 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/1.11, allocations: 0.75 kB / 1.094 GB, free: 1.691 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003626/1.11, allocations: 193.2 kB / 1.094 GB, free: 1.613 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.318e-05/1.11, allocations: 12.69 kB / 1.094 GB, free: 1.609 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.034e-05/1.11, allocations: 2.797 kB / 1.094 GB, free: 1.609 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.191e-05/1.111, allocations: 2.812 kB / 1.094 GB, free: 1.609 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001234/1.111, allocations: 22.91 kB / 1.094 GB, free: 1.605 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.185e-05/1.111, allocations: 7.141 kB / 1.094 GB, free: 1.602 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001093/1.111, allocations: 31.91 kB / 1.094 GB, free: 1.586 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.165e-05/1.111, allocations: 11.16 kB / 1.094 GB, free: 1.582 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (8): * Single equations (assignments): 8 * 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.0001749/1.111, allocations: 253.9 kB / 1.094 GB, free: 1.375 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.026e-05/1.111, allocations: 136.7 kB / 1.095 GB, free: 1.246 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.006e-05/1.111, allocations: 136.5 kB / 1.095 GB, free: 1.125 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.42e-05/1.111, allocations: 185.7 kB / 1.095 GB, free: 0.9375 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.532e-05/1.111, allocations: 177.6 kB / 1.095 GB, free: 0.7578 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.084e-05/1.111, allocations: 182.5 kB / 1.095 GB, free: 0.5742 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000285/1.112, allocations: 497.9 kB / 1.096 GB, free: 104 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.872e-05/1.112, allocations: 102.3 kB / 1.096 GB, free: 16 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.881e-05/1.112, allocations: 106.1 kB / 1.096 GB, free: 15.89 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.071e-05/1.112, allocations: 182.4 kB / 1.096 GB, free: 15.7 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.417e-05/1.112, allocations: 177.9 kB / 1.096 GB, free: 15.52 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.632e-05/1.112, allocations: 190 kB / 1.096 GB, free: 15.33 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.763e-05/1.112, allocations: 177.5 kB / 1.097 GB, free: 15.15 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001834/1.112, allocations: 331.1 kB / 1.097 GB, free: 14.82 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000141/1.112, allocations: 219 kB / 1.097 GB, free: 14.6 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001053/1.112, allocations: 187.1 kB / 1.097 GB, free: 14.41 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001417/1.113, allocations: 109.2 kB / 1.097 GB, free: 14.3 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.374e-05/1.113, allocations: 182.7 kB / 1.098 GB, free: 14.12 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.014e-05/1.113, allocations: 102.4 kB / 1.098 GB, free: 14.02 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0005206/1.113, allocations: 368.8 kB / 1.098 GB, free: 13.87 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.9e-07/1.113, allocations: 0 / 1.098 GB, free: 13.87 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003107/1.114, allocations: 24.84 kB / 1.098 GB, free: 13.87 MB / 0.8731 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 (0): * Single equations (assignments): 0 * 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.0002193/1.114, allocations: 178.7 kB / 1.098 GB, free: 13.7 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0002017/1.114, allocations: 69.78 kB / 1.098 GB, free: 13.69 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 6.482e-06/1.114, allocations: 0 / 1.098 GB, free: 13.69 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 1.322e-06/1.114, allocations: 0.9062 kB / 1.098 GB, free: 13.69 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006337/1.115, allocations: 485 kB / 1.099 GB, free: 13.23 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007885/1.115, allocations: 480.8 kB / 1.099 GB, free: 12.93 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004033/1.116, allocations: 0.7768 MB / 1.1 GB, free: 12.23 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001007/1.116, allocations: 48.3 kB / 1.1 GB, free: 12.23 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.07e-05/1.116, allocations: 21.19 kB / 1.1 GB, free: 12.21 MB / 0.8731 GB Notification: Performance of SimCode: time 3.41e-07/1.116, allocations: 4.688 kB / 1.1 GB, free: 12.21 MB / 0.8731 GB Notification: Performance of Templates: time 0.005449/1.121, allocations: 1.751 MB / 1.102 GB, free: 12.08 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixMin.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches