Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Reals.Validation.MatrixGain,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_MatrixGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_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.001043/0.001043, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001045/0.001045, allocations: 196.7 kB / 16.53 MB, free: 6.664 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.278/1.278, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.421/2.421, allocations: 437.1 MB / 0.7104 GB, free: 5.098 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001322/0.001322, allocations: 71.91 kB / 0.8694 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5904/0.5917, allocations: 151.6 MB / 1.017 GB, free: 2.516 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain): time 0.001882/0.5937, allocations: 0.7718 MB / 1.018 GB, free: 1.746 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0008335/0.5945, allocations: 0.8312 MB / 1.019 GB, free: 0.9023 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.282e-05/0.5946, allocations: 0 / 1.019 GB, free: 0.9023 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0001683/0.5948, allocations: 59.8 kB / 1.019 GB, free: 0.8438 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 5.383e-05/0.5948, allocations: 35.81 kB / 1.019 GB, free: 0.8086 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 7.055e-05/0.5949, allocations: 19.98 kB / 1.019 GB, free: 0.7891 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001077/0.595, allocations: 91.69 kB / 1.019 GB, free: 0.6992 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001121/0.5951, allocations: 27.97 kB / 1.019 GB, free: 0.6719 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 6.92e-05/0.5952, allocations: 43.83 kB / 1.019 GB, free: 0.6289 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001216/0.5953, allocations: 79.8 kB / 1.019 GB, free: 0.5508 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.33e-05/0.5954, allocations: 12 kB / 1.019 GB, free: 0.5391 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.758e-05/0.5954, allocations: 8 kB / 1.019 GB, free: 0.5312 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 6.198e-05/0.5955, allocations: 39.89 kB / 1.019 GB, free: 0.4922 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 4.895e-05/0.5955, allocations: 39.73 kB / 1.019 GB, free: 464 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001195/0.5956, allocations: 111.6 kB / 1.02 GB, free: 352 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.015e-06/0.5957, allocations: 0 / 1.02 GB, free: 352 kB / 0.7637 GB Notification: Performance of FrontEnd: time 2.775e-06/0.5957, allocations: 3.984 kB / 1.02 GB, free: 348 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.298e-06/0.5957, allocations: 4 kB / 1.02 GB, free: 344 kB / 0.7637 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.0007165/0.5964, allocations: 461.1 kB / 1.02 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.399e-05/0.5964, allocations: 12.03 kB / 1.02 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.739e-05/0.5965, allocations: 38.73 kB / 1.02 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.262e-05/0.5965, allocations: 16.75 kB / 1.02 GB, free: 15.76 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001597/0.5967, allocations: 205.6 kB / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.289e-05/0.5967, allocations: 12.36 kB / 1.02 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.658e-05/0.5967, allocations: 4.375 kB / 1.02 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003749/0.5971, allocations: 155.8 kB / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/0.5971, allocations: 3.938 kB / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.153e-05/0.5971, allocations: 0 / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.175e-06/0.5971, allocations: 4 kB / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005106/0.5977, allocations: 175.8 kB / 1.021 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007299/0.5984, allocations: 0.4969 MB / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003699/0.5988, allocations: 161.1 kB / 1.021 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002583/0.599, allocations: 93.73 kB / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.356e-05/0.5991, allocations: 0 / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.154e-05/0.5991, allocations: 38.55 kB / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=8): time 9.42e-07/0.5991, allocations: 0 / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8): time 0.0008361/0.5999, allocations: 285.2 kB / 1.022 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.749e-05/0.6, allocations: 81.11 kB / 1.022 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001115/0.6001, allocations: 173.6 kB / 1.022 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.578e-05/0.6001, allocations: 25.7 kB / 1.022 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.643e-05/0.6002, allocations: 96.14 kB / 1.022 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.117e-05/0.6002, allocations: 31.55 kB / 1.022 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.313e-05/0.6003, allocations: 29.66 kB / 1.022 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.913e-05/0.6004, allocations: 326.8 kB / 1.022 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002423/0.6006, allocations: 79.91 kB / 1.022 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002373/0.6009, allocations: 93.64 kB / 1.023 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004675/0.6013, allocations: 169.6 kB / 1.023 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.6013, allocations: 0 / 1.023 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005224/0.6019, allocations: 209.8 kB / 1.023 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.413e-05/0.6019, allocations: 8 kB / 1.023 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.6019, allocations: 0 / 1.023 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.079e-05/0.6019, allocations: 0 / 1.023 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002026/0.6021, allocations: 39.95 kB / 1.023 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.338e-06/0.6021, allocations: 0 / 1.023 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001295/0.6023, allocations: 27.95 kB / 1.023 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.06e-05/0.6023, allocations: 4 kB / 1.023 GB, free: 12.57 MB / 0.7794 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 8.436e-05/0.6024, allocations: 133.7 kB / 1.023 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.271e-05/0.6024, allocations: 19.8 kB / 1.023 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.982e-05/0.6025, allocations: 20.19 kB / 1.023 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.6025, allocations: 0 / 1.023 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.6025, allocations: 4 kB / 1.023 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.6025, allocations: 0 / 1.023 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002465/0.6027, allocations: 225.5 kB / 1.023 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.6028, allocations: 0 / 1.023 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001747/0.6029, allocations: 35.95 kB / 1.023 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.6029, allocations: 0 / 1.023 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.138e-05/0.603, allocations: 4 kB / 1.023 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.603, allocations: 4 kB / 1.023 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.603, allocations: 0 / 1.023 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000564/0.6035, allocations: 378.5 kB / 1.024 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.744e-05/0.6036, allocations: 92.86 kB / 1.024 GB, free: 11.58 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.102e-05/0.6036, allocations: 8 kB / 1.024 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001895/0.6038, allocations: 27.95 kB / 1.024 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.493e-05/0.6039, allocations: 11.98 kB / 1.024 GB, free: 11.53 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.64e-06/0.6039, allocations: 0 / 1.024 GB, free: 11.53 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.431e-05/0.604, allocations: 123.2 kB / 1.024 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.604, allocations: 0 / 1.024 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002644/0.6042, allocations: 16 kB / 1.024 GB, free: 11.39 MB / 0.7794 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.0009044/0.6051, allocations: 0.9146 MB / 1.025 GB, free: 10.45 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0005303/0.6057, allocations: 175.8 kB / 1.025 GB, free: 10.28 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.6057, allocations: 0 / 1.025 GB, free: 10.28 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002808/0.606, allocations: 87.92 kB / 1.025 GB, free: 10.19 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003476/0.6063, allocations: 25.33 kB / 1.025 GB, free: 10.17 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002419/0.6088, allocations: 1.958 MB / 1.027 GB, free: 8.121 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002262/0.609, allocations: 0.7157 MB / 1.028 GB, free: 7.379 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 7.996e-05/0.6091, allocations: 27.97 kB / 1.028 GB, free: 7.352 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.538e-05/0.6092, allocations: 35.42 kB / 1.028 GB, free: 7.316 MB / 0.7794 GB Notification: Performance of SimCode: time 2.5e-07/0.6092, allocations: 0 / 1.028 GB, free: 7.316 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01742/0.6266, allocations: 2.645 MB / 1.03 GB, free: 4.746 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.938/7.564, allocations: 8.062 kB / 1.03 GB, free: 4.742 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Controls.OBC.CDL.Reals.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_10_Buildings_Controls_OBC_CDL_Reals_Validation_MatrixGain.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_MatrixGain.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches