Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixGain",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006667/0.006667, allocations: 104.8 kB / 15.73 MB, free: 6.035 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.001483/0.001483, allocations: 199.2 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.367/1.367, allocations: 222.9 MB / 240.4 MB, free: 4.18 MB / 190.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.462/2.462, allocations: 390.2 MB / 0.6648 GB, free: 184 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001215/0.001215, allocations: 61.59 kB / 0.9504 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.296/0.2972, allocations: 140.4 MB / 1.088 GB, free: 1.957 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain): time 0.002296/0.2996, allocations: 0.7633 MB / 1.088 GB, free: 1.195 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001124/0.3007, allocations: 0.8237 MB / 1.089 GB, free: 368 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.615e-05/0.3008, allocations: 0 / 1.089 GB, free: 368 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0002372/0.3011, allocations: 63.78 kB / 1.089 GB, free: 304 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 7.974e-05/0.3012, allocations: 35.78 kB / 1.089 GB, free: 268 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 8.596e-05/0.3013, allocations: 19.97 kB / 1.089 GB, free: 248 kB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001538/0.3014, allocations: 99.67 kB / 1.089 GB, free: 148 kB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001502/0.3016, allocations: 12 kB / 1.089 GB, free: 136 kB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001023/0.3017, allocations: 47.83 kB / 1.089 GB, free: 88 kB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001552/0.3018, allocations: 87.78 kB / 1.089 GB, free: 0 / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 4.605e-05/0.3019, allocations: 8.047 kB / 1.089 GB, free: 15.99 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.85e-05/0.3019, allocations: 8 kB / 1.089 GB, free: 15.98 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 8.246e-05/0.302, allocations: 35.84 kB / 1.089 GB, free: 15.95 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 7.503e-05/0.3021, allocations: 43.73 kB / 1.09 GB, free: 15.91 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001669/0.3023, allocations: 115.6 kB / 1.09 GB, free: 15.79 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.3023, allocations: 0 / 1.09 GB, free: 15.79 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.433e-06/0.3023, allocations: 0 / 1.09 GB, free: 15.79 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.961e-06/0.3023, allocations: 0 / 1.09 GB, free: 15.79 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0008773/0.3032, allocations: 466.6 kB / 1.09 GB, free: 15.29 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.752e-05/0.3032, allocations: 8.031 kB / 1.09 GB, free: 15.28 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.41e-05/0.3033, allocations: 46.61 kB / 1.09 GB, free: 15.23 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.068e-05/0.3033, allocations: 16.75 kB / 1.09 GB, free: 15.21 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002018/0.3036, allocations: 204.1 kB / 1.09 GB, free: 14.97 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.115e-05/0.3036, allocations: 384 / 1.09 GB, free: 14.97 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.941e-05/0.3036, allocations: 12.38 kB / 1.09 GB, free: 14.96 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004111/0.304, allocations: 143.9 kB / 1.09 GB, free: 14.81 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.304, allocations: 3.938 kB / 1.09 GB, free: 14.8 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.914e-05/0.3041, allocations: 8 kB / 1.09 GB, free: 14.8 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.274e-06/0.3041, allocations: 0 / 1.09 GB, free: 14.8 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005231/0.3046, allocations: 175.8 kB / 1.091 GB, free: 14.62 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008743/0.3055, allocations: 0.4969 MB / 1.091 GB, free: 14.07 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004298/0.3059, allocations: 165.1 kB / 1.091 GB, free: 13.89 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000287/0.3062, allocations: 97.73 kB / 1.091 GB, free: 13.79 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.837e-05/0.3062, allocations: 0 / 1.091 GB, free: 13.79 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.371e-05/0.3063, allocations: 42.48 kB / 1.091 GB, free: 13.74 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=8): time 1.173e-06/0.3063, allocations: 0 / 1.091 GB, free: 13.74 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8): time 0.0008996/0.3072, allocations: 277.4 kB / 1.092 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.312e-05/0.3073, allocations: 81.05 kB / 1.092 GB, free: 13.37 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001659/0.3074, allocations: 160 kB / 1.092 GB, free: 13.2 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.125e-05/0.3075, allocations: 29.7 kB / 1.092 GB, free: 13.17 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 7.229e-05/0.3075, allocations: 112 kB / 1.092 GB, free: 13.05 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.653e-05/0.3076, allocations: 19.7 kB / 1.092 GB, free: 13.04 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.931e-05/0.3076, allocations: 25.72 kB / 1.092 GB, free: 13 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001165/0.3078, allocations: 326.8 kB / 1.092 GB, free: 12.68 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002504/0.308, allocations: 79.86 kB / 1.093 GB, free: 12.6 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002438/0.3083, allocations: 93.62 kB / 1.093 GB, free: 12.5 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004717/0.3087, allocations: 169.6 kB / 1.093 GB, free: 12.33 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.3088, allocations: 0 / 1.093 GB, free: 12.33 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005436/0.3093, allocations: 213.3 kB / 1.093 GB, free: 12.11 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.277e-05/0.3093, allocations: 10.19 kB / 1.093 GB, free: 12.11 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.3094, allocations: 0 / 1.093 GB, free: 12.11 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.826e-05/0.3094, allocations: 0 / 1.093 GB, free: 12.11 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002127/0.3096, allocations: 39.89 kB / 1.093 GB, free: 12.07 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.783e-06/0.3096, allocations: 0 / 1.093 GB, free: 12.07 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001387/0.3098, allocations: 39.81 kB / 1.093 GB, free: 12.03 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.193e-05/0.3098, allocations: 3.984 kB / 1.093 GB, free: 12.02 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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.0001022/0.3099, allocations: 125.8 kB / 1.093 GB, free: 11.89 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.974e-05/0.3099, allocations: 7.906 kB / 1.093 GB, free: 11.88 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.814e-05/0.31, allocations: 24.7 kB / 1.093 GB, free: 11.86 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.629e-06/0.31, allocations: 4 kB / 1.093 GB, free: 11.85 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.31, allocations: 0 / 1.093 GB, free: 11.85 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.31, allocations: 0 / 1.093 GB, free: 11.85 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000291/0.3103, allocations: 229.5 kB / 1.093 GB, free: 11.58 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.3103, allocations: 0 / 1.093 GB, free: 11.58 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001786/0.3105, allocations: 39.94 kB / 1.093 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.3105, allocations: 0 / 1.093 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.412e-05/0.3106, allocations: 4 kB / 1.093 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.3106, allocations: 0 / 1.093 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/0.3106, allocations: 3.938 kB / 1.093 GB, free: 11.53 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006449/0.3112, allocations: 386.4 kB / 1.094 GB, free: 11.14 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 5.067e-05/0.3113, allocations: 85.02 kB / 1.094 GB, free: 11.04 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.079e-05/0.3113, allocations: 0 / 1.094 GB, free: 11.04 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001945/0.3115, allocations: 35.95 kB / 1.094 GB, free: 11 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.688e-05/0.3116, allocations: 4 kB / 1.094 GB, free: 11 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.53e-05/0.3116, allocations: 4 kB / 1.094 GB, free: 10.99 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 9.394e-05/0.3117, allocations: 130.5 kB / 1.094 GB, free: 10.87 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3117, allocations: 0 / 1.094 GB, free: 10.87 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002758/0.312, allocations: 23.94 kB / 1.094 GB, free: 10.84 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (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 Backend phase and start with SimCode phase: time 0.0009748/0.313, allocations: 0.9184 MB / 1.095 GB, free: 9.898 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0005685/0.3135, allocations: 171.8 kB / 1.095 GB, free: 9.73 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.3135, allocations: 3.938 kB / 1.095 GB, free: 9.727 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0002678/0.3138, allocations: 87.92 kB / 1.095 GB, free: 9.641 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003816/0.3142, allocations: 19.98 kB / 1.095 GB, free: 9.621 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002767/0.317, allocations: 1.972 MB / 1.097 GB, free: 7.559 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000278/0.3173, allocations: 0.7041 MB / 1.098 GB, free: 6.828 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 8.708e-05/0.3174, allocations: 35.95 kB / 1.098 GB, free: 6.793 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.704e-05/0.3175, allocations: 27.44 kB / 1.098 GB, free: 6.766 MB / 0.8575 GB Notification: Performance of SimCode: time 6.21e-07/0.3175, allocations: 0 / 1.098 GB, free: 6.766 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02331/0.3408, allocations: 2.708 MB / 1.101 GB, free: 4.164 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.504/7.845, allocations: 13.7 kB / 1.101 GB, free: 4.156 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixGain.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixGain.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches