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.01388/0.01388, allocations: 97.62 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.001882/0.001882, allocations: 197.3 kB / 16.68 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 2.669/2.669, allocations: 222.9 MB / 240.4 MB, free: 4.324 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 4.436/4.436, allocations: 390.2 MB / 0.6648 GB, free: 212 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002072/0.002072, allocations: 65.53 kB / 0.9504 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5243/0.5264, allocations: 140.4 MB / 1.088 GB, free: 1.938 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain): time 0.00502/0.5315, allocations: 0.772 MB / 1.088 GB, free: 1.164 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.002106/0.5337, allocations: 0.8315 MB / 1.089 GB, free: 328 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001146/0.5338, allocations: 0 / 1.089 GB, free: 328 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0003522/0.5343, allocations: 51.81 kB / 1.089 GB, free: 276 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0001648/0.5345, allocations: 43.75 kB / 1.089 GB, free: 232 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001522/0.5346, allocations: 23.98 kB / 1.089 GB, free: 208 kB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0002623/0.5349, allocations: 83.75 kB / 1.089 GB, free: 124 kB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002045/0.5351, allocations: 19.98 kB / 1.089 GB, free: 104 kB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001583/0.5353, allocations: 51.81 kB / 1.089 GB, free: 52 kB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003245/0.5357, allocations: 83.88 kB / 1.089 GB, free: 15.96 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.429e-05/0.5357, allocations: 8 kB / 1.089 GB, free: 15.96 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 3.025e-05/0.5358, allocations: 8 kB / 1.089 GB, free: 15.95 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001203/0.5359, allocations: 31.91 kB / 1.089 GB, free: 15.92 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001111/0.536, allocations: 43.73 kB / 1.09 GB, free: 15.88 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003268/0.5364, allocations: 119.6 kB / 1.09 GB, free: 15.76 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.973e-06/0.5364, allocations: 4 kB / 1.09 GB, free: 15.76 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.525e-06/0.5364, allocations: 0 / 1.09 GB, free: 15.76 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.097e-05/0.5364, allocations: 0 / 1.09 GB, free: 15.76 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.001525/0.538, allocations: 462.8 kB / 1.09 GB, free: 15.25 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 6.952e-05/0.538, allocations: 12.03 kB / 1.09 GB, free: 15.24 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.376e-05/0.5382, allocations: 42.62 kB / 1.09 GB, free: 15.19 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.789e-05/0.5382, allocations: 12.89 kB / 1.09 GB, free: 15.18 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003593/0.5386, allocations: 208.1 kB / 1.09 GB, free: 14.94 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.614e-05/0.5386, allocations: 384 / 1.09 GB, free: 14.94 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.137e-05/0.5387, allocations: 12.38 kB / 1.09 GB, free: 14.93 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007609/0.5395, allocations: 143.9 kB / 1.09 GB, free: 14.77 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.743e-05/0.5395, allocations: 3.938 kB / 1.09 GB, free: 14.77 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.655e-05/0.5395, allocations: 4 kB / 1.091 GB, free: 14.77 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.063e-05/0.5396, allocations: 4 kB / 1.091 GB, free: 14.76 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001048/0.5406, allocations: 171.8 kB / 1.091 GB, free: 14.59 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001589/0.5422, allocations: 0.5008 MB / 1.091 GB, free: 14.04 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007788/0.543, allocations: 165.1 kB / 1.091 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005555/0.5436, allocations: 101.7 kB / 1.091 GB, free: 13.75 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.293e-05/0.5436, allocations: 0 / 1.091 GB, free: 13.75 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.951e-05/0.5437, allocations: 34.5 kB / 1.091 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=8): time 2.886e-06/0.5437, allocations: 4 kB / 1.091 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8): time 0.001765/0.5455, allocations: 285.4 kB / 1.092 GB, free: 13.42 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.456e-05/0.5456, allocations: 81.05 kB / 1.092 GB, free: 13.32 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002677/0.5459, allocations: 160.2 kB / 1.092 GB, free: 13.16 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.692e-05/0.5459, allocations: 29.7 kB / 1.092 GB, free: 13.12 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001222/0.5461, allocations: 104.1 kB / 1.092 GB, free: 13.02 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 7.246e-05/0.5462, allocations: 27.78 kB / 1.092 GB, free: 12.99 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001022/0.5463, allocations: 29.7 kB / 1.092 GB, free: 12.96 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0002075/0.5465, allocations: 326.8 kB / 1.092 GB, free: 12.63 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004848/0.547, allocations: 79.86 kB / 1.093 GB, free: 12.55 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005276/0.5476, allocations: 93.62 kB / 1.093 GB, free: 12.45 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009901/0.5486, allocations: 169.6 kB / 1.093 GB, free: 12.28 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.001e-05/0.5486, allocations: 0 / 1.093 GB, free: 12.28 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.001128/0.5497, allocations: 213.4 kB / 1.093 GB, free: 12.07 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 3.444e-05/0.5498, allocations: 13.86 kB / 1.093 GB, free: 12.05 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.097e-05/0.5498, allocations: 0 / 1.093 GB, free: 12.05 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.284e-05/0.5499, allocations: 0 / 1.093 GB, free: 12.05 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004134/0.5503, allocations: 35.91 kB / 1.093 GB, free: 12.02 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.071e-05/0.5503, allocations: 3.984 kB / 1.093 GB, free: 12.02 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002977/0.5506, allocations: 31.97 kB / 1.093 GB, free: 11.98 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.749e-05/0.5507, allocations: 0 / 1.093 GB, free: 11.98 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.0002191/0.5509, allocations: 129.8 kB / 1.093 GB, free: 11.85 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001078/0.551, allocations: 11.91 kB / 1.093 GB, free: 11.84 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.325e-05/0.5511, allocations: 20.25 kB / 1.093 GB, free: 11.81 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.049e-05/0.5511, allocations: 4 kB / 1.093 GB, free: 11.81 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.251e-05/0.5512, allocations: 3.984 kB / 1.093 GB, free: 11.8 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.73e-06/0.5512, allocations: 0 / 1.093 GB, free: 11.8 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005791/0.5518, allocations: 225.5 kB / 1.093 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.539e-06/0.5518, allocations: 0 / 1.093 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003575/0.5522, allocations: 35.95 kB / 1.093 GB, free: 11.5 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.031e-06/0.5522, allocations: 0 / 1.093 GB, free: 11.5 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.114e-05/0.5522, allocations: 4 kB / 1.093 GB, free: 11.5 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.5522, allocations: 0 / 1.093 GB, free: 11.5 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.691e-06/0.5523, allocations: 3.938 kB / 1.093 GB, free: 11.49 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001249/0.5535, allocations: 386.5 kB / 1.094 GB, free: 11.1 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 8.499e-05/0.5536, allocations: 85.47 kB / 1.094 GB, free: 11 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.282e-05/0.5537, allocations: 7.984 kB / 1.094 GB, free: 10.99 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004112/0.5541, allocations: 27.97 kB / 1.094 GB, free: 10.96 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.329e-05/0.5542, allocations: 7.984 kB / 1.094 GB, free: 10.95 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.768e-05/0.5542, allocations: 7.938 kB / 1.094 GB, free: 10.95 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0002266/0.5545, allocations: 126.5 kB / 1.094 GB, free: 10.82 MB / 0.8575 GB Notification: Performance of sort global known variables: time 3.51e-07/0.5545, allocations: 0 / 1.094 GB, free: 10.82 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.000607/0.5551, allocations: 20 kB / 1.094 GB, free: 10.8 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.001939/0.5571, allocations: 0.9185 MB / 1.095 GB, free: 9.859 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.00113/0.5582, allocations: 171.8 kB / 1.095 GB, free: 9.691 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/0.5583, allocations: 3.938 kB / 1.095 GB, free: 9.688 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0005489/0.5588, allocations: 91.91 kB / 1.095 GB, free: 9.598 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007403/0.5596, allocations: 12 kB / 1.095 GB, free: 9.586 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0054/0.565, allocations: 1.974 MB / 1.097 GB, free: 7.52 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005711/0.5656, allocations: 0.7094 MB / 1.098 GB, free: 6.785 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0001885/0.5658, allocations: 31.97 kB / 1.098 GB, free: 6.754 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001553/0.566, allocations: 35.36 kB / 1.098 GB, free: 6.719 MB / 0.8575 GB Notification: Performance of SimCode: time 1.262e-06/0.566, allocations: 0 / 1.098 GB, free: 6.719 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04333/0.6094, allocations: 2.696 MB / 1.101 GB, free: 4.129 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.49/14.1, allocations: 9 kB / 1.101 GB, free: 4.125 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