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.008672/0.008672, allocations: 96.7 kB / 15.73 MB, free: 6.039 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.002007/0.002007, allocations: 193.3 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.333/1.333, allocations: 222.9 MB / 240.4 MB, free: 4.32 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.513/2.513, allocations: 437 MB / 0.7105 GB, free: 5.055 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001289/0.001289, allocations: 59.91 kB / 1.018 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2691/0.2704, allocations: 151.6 MB / 1.166 GB, free: 7.32 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain): time 0.001837/0.2723, allocations: 0.7705 MB / 1.167 GB, free: 6.551 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0009054/0.2732, allocations: 0.8316 MB / 1.168 GB, free: 5.707 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.221e-05/0.2733, allocations: 7.938 kB / 1.168 GB, free: 5.699 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001764/0.2735, allocations: 51.86 kB / 1.168 GB, free: 5.648 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 7.095e-05/0.2736, allocations: 43.77 kB / 1.168 GB, free: 5.605 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 7.212e-05/0.2736, allocations: 15.98 kB / 1.168 GB, free: 5.59 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001228/0.2738, allocations: 91.73 kB / 1.168 GB, free: 5.5 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00012/0.2739, allocations: 19.98 kB / 1.168 GB, free: 5.48 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 7.601e-05/0.274, allocations: 43.89 kB / 1.168 GB, free: 5.438 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001418/0.2741, allocations: 87.78 kB / 1.168 GB, free: 5.352 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.304e-05/0.2741, allocations: 8 kB / 1.168 GB, free: 5.344 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.649e-05/0.2742, allocations: 4 kB / 1.168 GB, free: 5.34 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 7.101e-05/0.2742, allocations: 35.84 kB / 1.168 GB, free: 5.305 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 5.556e-05/0.2743, allocations: 47.73 kB / 1.168 GB, free: 5.258 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001513/0.2745, allocations: 119.7 kB / 1.168 GB, free: 5.141 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.2745, allocations: 0 / 1.168 GB, free: 5.141 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.383e-06/0.2745, allocations: 3.938 kB / 1.168 GB, free: 5.137 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.681e-06/0.2745, allocations: 4 kB / 1.168 GB, free: 5.133 MB / 0.92 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.0007644/0.2753, allocations: 462.8 kB / 1.169 GB, free: 4.629 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.69e-05/0.2753, allocations: 12.03 kB / 1.169 GB, free: 4.617 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.845e-05/0.2754, allocations: 34.75 kB / 1.169 GB, free: 4.574 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.624e-05/0.2754, allocations: 20.84 kB / 1.169 GB, free: 4.555 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001974/0.2756, allocations: 196.2 kB / 1.169 GB, free: 4.324 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.025e-05/0.2756, allocations: 8.375 kB / 1.169 GB, free: 4.316 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.009e-05/0.2756, allocations: 8.375 kB / 1.169 GB, free: 4.309 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003977/0.276, allocations: 151.7 kB / 1.169 GB, free: 4.148 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/0.2761, allocations: 3.938 kB / 1.169 GB, free: 4.145 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.458e-05/0.2761, allocations: 7.938 kB / 1.169 GB, free: 4.137 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.711e-06/0.2761, allocations: 4 kB / 1.169 GB, free: 4.133 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005434/0.2766, allocations: 167.8 kB / 1.169 GB, free: 3.969 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008594/0.2775, allocations: 0.5085 MB / 1.17 GB, free: 3.406 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004076/0.2779, allocations: 169.1 kB / 1.17 GB, free: 3.223 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002746/0.2782, allocations: 97.73 kB / 1.17 GB, free: 3.121 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.811e-05/0.2783, allocations: 0 / 1.17 GB, free: 3.121 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.22e-05/0.2783, allocations: 30.56 kB / 1.17 GB, free: 3.082 MB / 0.92 GB Notification: Performance of pre-optimization done (n=8): time 1.052e-06/0.2783, allocations: 0 / 1.17 GB, free: 3.082 MB / 0.92 GB Notification: Performance of matching and sorting (n=8): time 0.000913/0.2792, allocations: 297.6 kB / 1.17 GB, free: 2.785 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.862e-05/0.2793, allocations: 77.11 kB / 1.171 GB, free: 2.691 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001293/0.2794, allocations: 159.1 kB / 1.171 GB, free: 2.527 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.79e-05/0.2794, allocations: 25.7 kB / 1.171 GB, free: 2.496 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.495e-05/0.2795, allocations: 104.1 kB / 1.171 GB, free: 2.391 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 3.927e-05/0.2795, allocations: 31.75 kB / 1.171 GB, free: 2.359 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.968e-05/0.2796, allocations: 25.7 kB / 1.171 GB, free: 2.328 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001054/0.2797, allocations: 326.8 kB / 1.171 GB, free: 2 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002548/0.2799, allocations: 75.92 kB / 1.171 GB, free: 1.926 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002601/0.2802, allocations: 89.64 kB / 1.171 GB, free: 1.832 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005057/0.2807, allocations: 173.5 kB / 1.171 GB, free: 1.656 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.2807, allocations: 0 / 1.171 GB, free: 1.656 MB / 0.92 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005593/0.2813, allocations: 209.4 kB / 1.172 GB, free: 1.445 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.263e-05/0.2813, allocations: 11.98 kB / 1.172 GB, free: 1.434 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.2813, allocations: 0 / 1.172 GB, free: 1.434 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.19e-05/0.2814, allocations: 0 / 1.172 GB, free: 1.434 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002065/0.2816, allocations: 31.97 kB / 1.172 GB, free: 1.402 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.2816, allocations: 4 kB / 1.172 GB, free: 1.398 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001394/0.2817, allocations: 27.95 kB / 1.172 GB, free: 1.371 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.047e-05/0.2817, allocations: 4 kB / 1.172 GB, free: 1.367 MB / 0.92 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 9.375e-05/0.2818, allocations: 130.9 kB / 1.172 GB, free: 1.23 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.087e-05/0.2819, allocations: 7.953 kB / 1.172 GB, free: 1.223 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.225e-05/0.282, allocations: 20.25 kB / 1.172 GB, free: 1.195 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.165e-06/0.282, allocations: 0 / 1.172 GB, free: 1.195 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-06/0.282, allocations: 11.98 kB / 1.172 GB, free: 1.184 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.282, allocations: 0 / 1.172 GB, free: 1.184 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002894/0.2823, allocations: 229.5 kB / 1.172 GB, free: 0.9102 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.866e-06/0.2823, allocations: 3.938 kB / 1.172 GB, free: 0.9062 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001857/0.2825, allocations: 39.89 kB / 1.172 GB, free: 0.8672 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.2825, allocations: 0 / 1.172 GB, free: 0.8672 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.109e-05/0.2825, allocations: 0 / 1.172 GB, free: 0.8672 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.739e-06/0.2825, allocations: 8 kB / 1.172 GB, free: 0.8594 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.2825, allocations: 0 / 1.172 GB, free: 0.8594 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006136/0.2831, allocations: 374.6 kB / 1.173 GB, free: 488 kB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.559e-05/0.2832, allocations: 92.95 kB / 1.173 GB, free: 376 kB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.182e-05/0.2832, allocations: 7.984 kB / 1.173 GB, free: 368 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002057/0.2834, allocations: 31.91 kB / 1.173 GB, free: 336 kB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.928e-05/0.2835, allocations: 11.92 kB / 1.173 GB, free: 324 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.823e-06/0.2835, allocations: 0 / 1.173 GB, free: 324 kB / 0.92 GB Notification: Performance of sorting global known variables: time 9.212e-05/0.2836, allocations: 124.3 kB / 1.173 GB, free: 200 kB / 0.92 GB Notification: Performance of sort global known variables: time 1.91e-07/0.2836, allocations: 0 / 1.173 GB, free: 200 kB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002851/0.2839, allocations: 20 kB / 1.173 GB, free: 180 kB / 0.92 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.0009575/0.2849, allocations: 0.907 MB / 1.174 GB, free: 15.24 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0005659/0.2854, allocations: 176.1 kB / 1.174 GB, free: 15.07 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.2855, allocations: 4 kB / 1.174 GB, free: 15.07 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.000275/0.2857, allocations: 95.84 kB / 1.174 GB, free: 14.97 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003615/0.2861, allocations: 15.98 kB / 1.174 GB, free: 14.96 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002688/0.2888, allocations: 1.968 MB / 1.176 GB, free: 12.89 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002828/0.2891, allocations: 0.7158 MB / 1.177 GB, free: 12.15 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 8.452e-05/0.2892, allocations: 23.97 kB / 1.177 GB, free: 12.13 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.48e-05/0.2893, allocations: 31.42 kB / 1.177 GB, free: 12.1 MB / 0.9356 GB Notification: Performance of SimCode: time 2.7e-07/0.2893, allocations: 0 / 1.177 GB, free: 12.1 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01752/0.3068, allocations: 2.692 MB / 1.179 GB, free: 9.508 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.336/7.643, allocations: 6.797 kB / 1.179 GB, free: 9.504 MB / 0.9356 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