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.001552/0.001552, 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.00176/0.00176, allocations: 195.9 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.258/1.258, allocations: 222.9 MB / 240.2 MB, free: 4.395 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.26/2.26, allocations: 437.1 MB / 0.7104 GB, free: 5.09 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00114/0.00114, allocations: 63.91 kB / 0.8694 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4605/0.4617, allocations: 151.6 MB / 1.017 GB, free: 2.473 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain): time 0.001587/0.4633, allocations: 0.7605 MB / 1.018 GB, free: 1.711 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0006987/0.464, allocations: 0.8312 MB / 1.019 GB, free: 0.8672 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.183e-05/0.4641, allocations: 4 kB / 1.019 GB, free: 0.8633 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0001473/0.4642, allocations: 59.78 kB / 1.019 GB, free: 0.8047 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 4.772e-05/0.4643, allocations: 31.84 kB / 1.019 GB, free: 0.7734 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 6.067e-05/0.4644, allocations: 19.97 kB / 1.019 GB, free: 0.7539 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 9.594e-05/0.4645, allocations: 91.73 kB / 1.019 GB, free: 0.6641 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 9.857e-05/0.4646, allocations: 27.98 kB / 1.019 GB, free: 0.6367 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 6.091e-05/0.4646, allocations: 43.83 kB / 1.019 GB, free: 0.5938 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001086/0.4648, allocations: 83.78 kB / 1.019 GB, free: 0.5117 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.102e-05/0.4648, allocations: 8 kB / 1.019 GB, free: 0.5039 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.408e-05/0.4648, allocations: 8 kB / 1.019 GB, free: 0.4961 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 5.257e-05/0.4649, allocations: 39.89 kB / 1.019 GB, free: 468 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 4.248e-05/0.4649, allocations: 43.73 kB / 1.019 GB, free: 424 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001006/0.465, allocations: 111.6 kB / 1.02 GB, free: 312 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 2.905e-06/0.465, allocations: 0 / 1.02 GB, free: 312 kB / 0.7637 GB Notification: Performance of FrontEnd: time 1.233e-06/0.465, allocations: 0 / 1.02 GB, free: 312 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 3.848e-06/0.465, allocations: 0 / 1.02 GB, free: 312 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.0006175/0.4657, allocations: 473 kB / 1.02 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 2.964e-05/0.4657, allocations: 8.031 kB / 1.02 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.065e-05/0.4657, allocations: 42.73 kB / 1.02 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.694e-05/0.4658, allocations: 12.75 kB / 1.02 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001436/0.4659, allocations: 208 kB / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.014e-05/0.4659, allocations: 8.375 kB / 1.02 GB, free: 15.47 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.239e-05/0.4659, allocations: 4.312 kB / 1.02 GB, free: 15.47 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003326/0.4663, allocations: 151.9 kB / 1.02 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.205e-06/0.4663, allocations: 7.922 kB / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.021e-05/0.4663, allocations: 0 / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.4663, allocations: 3.984 kB / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004695/0.4668, allocations: 171.8 kB / 1.021 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006396/0.4674, allocations: 0.493 MB / 1.021 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003381/0.4678, allocations: 169.1 kB / 1.021 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002305/0.468, allocations: 89.73 kB / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.445e-05/0.468, allocations: 8 kB / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.766e-05/0.4681, allocations: 34.56 kB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=8): time 1.011e-06/0.4681, allocations: 0 / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8): time 0.000771/0.4688, allocations: 285.2 kB / 1.022 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.141e-05/0.4689, allocations: 85.11 kB / 1.022 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001029/0.469, allocations: 171.2 kB / 1.022 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.296e-05/0.469, allocations: 25.7 kB / 1.022 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.955e-05/0.4691, allocations: 100.1 kB / 1.022 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.76e-05/0.4691, allocations: 31.55 kB / 1.022 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.05e-05/0.4691, allocations: 21.72 kB / 1.022 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 7.592e-05/0.4692, allocations: 326.8 kB / 1.022 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002318/0.4695, allocations: 75.92 kB / 1.022 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002229/0.4697, allocations: 97.62 kB / 1.023 GB, free: 13 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004255/0.4701, allocations: 173.6 kB / 1.023 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.4701, allocations: 0 / 1.023 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004861/0.4706, allocations: 205.8 kB / 1.023 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.013e-05/0.4706, allocations: 4 kB / 1.023 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.386e-06/0.4706, allocations: 0 / 1.023 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.327e-06/0.4707, allocations: 4 kB / 1.023 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001797/0.4708, allocations: 35.95 kB / 1.023 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.4709, allocations: 7.938 kB / 1.023 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000119/0.471, allocations: 23.97 kB / 1.023 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.425e-06/0.471, allocations: 4 kB / 1.023 GB, free: 12.54 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 7.507e-05/0.4711, allocations: 133.7 kB / 1.023 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.68e-05/0.4711, allocations: 23.8 kB / 1.023 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.787e-05/0.4712, allocations: 20.23 kB / 1.023 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.664e-06/0.4712, allocations: 0 / 1.023 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.815e-06/0.4712, allocations: 3.938 kB / 1.023 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.4712, allocations: 0 / 1.023 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002264/0.4714, allocations: 229.5 kB / 1.023 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.4714, allocations: 4 kB / 1.023 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000158/0.4716, allocations: 35.95 kB / 1.023 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.4716, allocations: 0 / 1.023 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.528e-06/0.4716, allocations: 4 kB / 1.023 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.4716, allocations: 0 / 1.023 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.4716, allocations: 4 kB / 1.023 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005187/0.4721, allocations: 378.5 kB / 1.024 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.253e-05/0.4722, allocations: 92.86 kB / 1.024 GB, free: 11.53 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.34e-05/0.4722, allocations: 4 kB / 1.024 GB, free: 11.53 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000275/0.4725, allocations: 23.97 kB / 1.024 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.809e-05/0.4726, allocations: 15.98 kB / 1.024 GB, free: 11.49 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.935e-06/0.4726, allocations: 0 / 1.024 GB, free: 11.49 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 9.799e-05/0.4727, allocations: 127.2 kB / 1.024 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4727, allocations: 0 / 1.024 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.00046/0.4732, allocations: 16 kB / 1.024 GB, free: 11.35 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.0007576/0.4739, allocations: 0.9107 MB / 1.025 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004845/0.4744, allocations: 179.8 kB / 1.025 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.4744, allocations: 0 / 1.025 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002403/0.4747, allocations: 87.92 kB / 1.025 GB, free: 10.14 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003024/0.475, allocations: 11.98 kB / 1.025 GB, free: 10.13 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002174/0.4772, allocations: 1.966 MB / 1.027 GB, free: 8.078 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002031/0.4774, allocations: 0.7079 MB / 1.028 GB, free: 7.344 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 7.045e-05/0.4775, allocations: 31.89 kB / 1.028 GB, free: 7.312 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.549e-05/0.4775, allocations: 31.44 kB / 1.028 GB, free: 7.281 MB / 0.7794 GB Notification: Performance of SimCode: time 2.11e-07/0.4775, allocations: 0 / 1.028 GB, free: 7.281 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.793/4.271, allocations: 2.655 MB / 1.03 GB, free: 4.703 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.14/18.41, allocations: 14.42 kB / 1.03 GB, free: 4.691 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_MatrixGain_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.mat","/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