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.009317/0.009317, allocations: 99 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.002375/0.002375, allocations: 189.9 kB / 16.67 MB, free: 5.926 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.42/2.42, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 3.532/3.532, allocations: 437 MB / 0.7105 GB, free: 4.402 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001974/0.001974, allocations: 67.91 kB / 1.018 GB, free: 9.844 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8693/0.8713, allocations: 151.6 MB / 1.166 GB, free: 3.758 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain): time 0.001987/0.8733, allocations: 0.7795 MB / 1.167 GB, free: 2.984 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001033/0.8743, allocations: 0.8196 MB / 1.168 GB, free: 2.152 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.734e-05/0.8744, allocations: 4 kB / 1.168 GB, free: 2.148 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0002129/0.8746, allocations: 59.78 kB / 1.168 GB, free: 2.09 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 5.883e-05/0.8747, allocations: 35.83 kB / 1.168 GB, free: 2.055 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 7.464e-05/0.8748, allocations: 19.98 kB / 1.168 GB, free: 2.035 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001472/0.8749, allocations: 95.67 kB / 1.168 GB, free: 1.941 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001498/0.8751, allocations: 19.98 kB / 1.168 GB, free: 1.922 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 7.791e-05/0.8752, allocations: 39.84 kB / 1.168 GB, free: 1.883 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001589/0.8754, allocations: 87.77 kB / 1.168 GB, free: 1.797 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.498e-05/0.8754, allocations: 8 kB / 1.168 GB, free: 1.789 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.936e-05/0.8754, allocations: 8 kB / 1.168 GB, free: 1.781 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 7.533e-05/0.8755, allocations: 38.34 kB / 1.168 GB, free: 1.746 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 6.101e-05/0.8756, allocations: 39.73 kB / 1.168 GB, free: 1.707 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001703/0.8757, allocations: 127.2 kB / 1.168 GB, free: 1.586 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.8757, allocations: 0 / 1.168 GB, free: 1.586 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.773e-06/0.8757, allocations: 0 / 1.168 GB, free: 1.586 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.831e-06/0.8758, allocations: 0 / 1.168 GB, free: 1.586 MB / 0.8887 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.0008533/0.8766, allocations: 470.8 kB / 1.169 GB, free: 1.074 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.389e-05/0.8767, allocations: 8.922 kB / 1.169 GB, free: 1.066 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.93e-05/0.8767, allocations: 38.75 kB / 1.169 GB, free: 1.02 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.398e-05/0.8768, allocations: 12.84 kB / 1.169 GB, free: 1.008 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002478/0.877, allocations: 204.2 kB / 1.169 GB, free: 0.7695 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.293e-05/0.877, allocations: 4.375 kB / 1.169 GB, free: 0.7656 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.017e-05/0.8771, allocations: 8.375 kB / 1.169 GB, free: 0.7578 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004245/0.8775, allocations: 155.7 kB / 1.169 GB, free: 0.5938 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.221e-05/0.8775, allocations: 3.938 kB / 1.169 GB, free: 0.5898 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.466e-05/0.8775, allocations: 4 kB / 1.169 GB, free: 0.5859 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.089e-06/0.8775, allocations: 0 / 1.169 GB, free: 0.5859 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005413/0.8781, allocations: 167.8 kB / 1.169 GB, free: 432 kB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008878/0.879, allocations: 0.5008 MB / 1.17 GB, free: 15.87 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004285/0.8794, allocations: 165.1 kB / 1.17 GB, free: 15.69 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002778/0.8797, allocations: 97.67 kB / 1.17 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.727e-05/0.8797, allocations: 8 kB / 1.17 GB, free: 15.58 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.613e-05/0.8798, allocations: 30.56 kB / 1.17 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=8): time 1.493e-06/0.8798, allocations: 0 / 1.17 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of matching and sorting (n=8): time 0.0009528/0.8807, allocations: 293.2 kB / 1.17 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.507e-05/0.8808, allocations: 81.11 kB / 1.17 GB, free: 15.15 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001537/0.881, allocations: 161.3 kB / 1.171 GB, free: 14.98 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.346e-05/0.881, allocations: 25.7 kB / 1.171 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 7.278e-05/0.8811, allocations: 104.1 kB / 1.171 GB, free: 14.85 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 4.245e-05/0.8811, allocations: 27.75 kB / 1.171 GB, free: 14.82 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.227e-05/0.8812, allocations: 29.7 kB / 1.171 GB, free: 14.79 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001513/0.8814, allocations: 326.8 kB / 1.171 GB, free: 14.46 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000255/0.8816, allocations: 75.92 kB / 1.171 GB, free: 14.38 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002664/0.8819, allocations: 97.62 kB / 1.171 GB, free: 14.28 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004988/0.8824, allocations: 177.5 kB / 1.171 GB, free: 14.1 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.8824, allocations: 0 / 1.171 GB, free: 14.1 MB / 0.9044 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000563/0.883, allocations: 209.4 kB / 1.172 GB, free: 13.89 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.883, allocations: 4 kB / 1.172 GB, free: 13.89 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.125e-06/0.883, allocations: 3.984 kB / 1.172 GB, free: 13.88 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.346e-05/0.883, allocations: 4 kB / 1.172 GB, free: 13.88 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002111/0.8832, allocations: 27.97 kB / 1.172 GB, free: 13.85 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.648e-06/0.8833, allocations: 4 kB / 1.172 GB, free: 13.85 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001382/0.8834, allocations: 31.89 kB / 1.172 GB, free: 13.82 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.35e-05/0.8834, allocations: 8.156 kB / 1.172 GB, free: 13.81 MB / 0.9044 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.0001122/0.8835, allocations: 125.8 kB / 1.172 GB, free: 13.68 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.094e-05/0.8836, allocations: 11.95 kB / 1.172 GB, free: 13.66 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.898e-05/0.8837, allocations: 20.25 kB / 1.172 GB, free: 13.63 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.315e-06/0.8837, allocations: 0 / 1.172 GB, free: 13.63 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.8837, allocations: 0 / 1.172 GB, free: 13.63 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.574e-06/0.8837, allocations: 8.453 kB / 1.172 GB, free: 13.62 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00032/0.884, allocations: 229.5 kB / 1.172 GB, free: 13.35 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.884, allocations: 0 / 1.172 GB, free: 13.35 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001823/0.8842, allocations: 39.89 kB / 1.172 GB, free: 13.31 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.8842, allocations: 0 / 1.172 GB, free: 13.31 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.039e-05/0.8842, allocations: 0 / 1.172 GB, free: 13.31 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.8843, allocations: 0 / 1.172 GB, free: 13.31 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-06/0.8843, allocations: 7.984 kB / 1.172 GB, free: 13.3 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006698/0.8849, allocations: 378.6 kB / 1.173 GB, free: 12.92 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 6.196e-05/0.885, allocations: 89.02 kB / 1.173 GB, free: 12.81 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.348e-05/0.885, allocations: 3.984 kB / 1.173 GB, free: 12.81 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001983/0.8852, allocations: 27.97 kB / 1.173 GB, free: 12.78 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.141e-05/0.8853, allocations: 15.92 kB / 1.173 GB, free: 12.77 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.993e-06/0.8853, allocations: 0 / 1.173 GB, free: 12.77 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001131/0.8854, allocations: 125.4 kB / 1.173 GB, free: 12.64 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.31e-07/0.8854, allocations: 0 / 1.173 GB, free: 12.64 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002806/0.8857, allocations: 19.94 kB / 1.173 GB, free: 12.62 MB / 0.9044 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.001064/0.8868, allocations: 0.9185 MB / 1.174 GB, free: 11.68 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0005946/0.8874, allocations: 167.8 kB / 1.174 GB, free: 11.52 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.8874, allocations: 0 / 1.174 GB, free: 11.52 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0002827/0.8877, allocations: 99.84 kB / 1.174 GB, free: 11.42 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003732/0.8881, allocations: 13.72 kB / 1.174 GB, free: 11.41 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002972/0.8911, allocations: 1.966 MB / 1.176 GB, free: 9.348 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003509/0.8914, allocations: 0.7158 MB / 1.177 GB, free: 8.605 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 9.138e-05/0.8915, allocations: 27.97 kB / 1.177 GB, free: 8.578 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.91e-05/0.8916, allocations: 31.42 kB / 1.177 GB, free: 8.547 MB / 0.9044 GB Notification: Performance of SimCode: time 2.665e-06/0.8916, allocations: 0 / 1.177 GB, free: 8.547 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02643/0.9181, allocations: 2.7 MB / 1.179 GB, free: 5.949 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.659/9.577, allocations: 14.3 kB / 1.179 GB, free: 5.938 MB / 0.9044 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