Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_Controls_OBC_CDL_Reals_Validation_MatrixGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain,fileNamePrefix="Buildings_latest_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.00138/0.00138, 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.0015/0.0015, allocations: 196.1 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.332/1.332, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.594/2.594, allocations: 461.9 MB / 0.7346 GB, free: 14.74 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001381/0.001381, allocations: 66.55 kB / 0.8992 GB, free: 36.93 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2619/0.2633, allocations: 157.4 MB / 1.053 GB, free: 8.27 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain): time 0.001694/0.2651, allocations: 0.7764 MB / 1.054 GB, free: 7.496 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0007437/0.2658, allocations: 0.8273 MB / 1.054 GB, free: 6.656 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.486e-05/0.2659, allocations: 0 / 1.054 GB, free: 6.656 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001572/0.266, allocations: 63.72 kB / 1.055 GB, free: 6.594 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 4.651e-05/0.2661, allocations: 27.84 kB / 1.055 GB, free: 6.566 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 6.046e-05/0.2662, allocations: 23.97 kB / 1.055 GB, free: 6.543 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 9.985e-05/0.2663, allocations: 83.81 kB / 1.055 GB, free: 6.461 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001141/0.2664, allocations: 27.92 kB / 1.055 GB, free: 6.434 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 6.484e-05/0.2665, allocations: 43.84 kB / 1.055 GB, free: 6.391 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001185/0.2666, allocations: 83.77 kB / 1.055 GB, free: 6.309 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.569e-05/0.2666, allocations: 8 kB / 1.055 GB, free: 6.301 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.675e-05/0.2667, allocations: 11.94 kB / 1.055 GB, free: 6.289 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 5.567e-05/0.2667, allocations: 35.91 kB / 1.055 GB, free: 6.254 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.943e-05/0.2668, allocations: 43.73 kB / 1.055 GB, free: 6.211 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001158/0.2669, allocations: 119.6 kB / 1.055 GB, free: 6.094 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.267e-06/0.2669, allocations: 0 / 1.055 GB, free: 6.094 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.152e-06/0.2669, allocations: 0 / 1.055 GB, free: 6.094 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.319e-06/0.2669, allocations: 0 / 1.055 GB, free: 6.094 MB / 0.8106 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.0006221/0.2675, allocations: 467.2 kB / 1.055 GB, free: 5.586 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.178e-05/0.2676, allocations: 8.625 kB / 1.055 GB, free: 5.578 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.163e-05/0.2676, allocations: 34.75 kB / 1.056 GB, free: 5.535 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.977e-05/0.2676, allocations: 16.75 kB / 1.056 GB, free: 5.52 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001468/0.2678, allocations: 200.1 kB / 1.056 GB, free: 5.285 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.518e-06/0.2678, allocations: 4.375 kB / 1.056 GB, free: 5.281 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.373e-05/0.2678, allocations: 4.375 kB / 1.056 GB, free: 5.277 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003524/0.2682, allocations: 163.7 kB / 1.056 GB, free: 5.105 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.2682, allocations: 11.88 kB / 1.056 GB, free: 5.094 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.238e-05/0.2682, allocations: 4 kB / 1.056 GB, free: 5.09 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.2682, allocations: 0 / 1.056 GB, free: 5.09 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000477/0.2687, allocations: 171.8 kB / 1.056 GB, free: 4.922 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006652/0.2694, allocations: 0.4968 MB / 1.057 GB, free: 4.371 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003511/0.2698, allocations: 165.1 kB / 1.057 GB, free: 4.191 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002396/0.27, allocations: 97.67 kB / 1.057 GB, free: 4.09 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.355e-05/0.27, allocations: 0 / 1.057 GB, free: 4.09 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.024e-05/0.27, allocations: 38.56 kB / 1.057 GB, free: 4.043 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=8): time 1.954e-06/0.2701, allocations: 3.984 kB / 1.057 GB, free: 4.039 MB / 0.8106 GB Notification: Performance of matching and sorting (n=8): time 0.0008001/0.2709, allocations: 285.3 kB / 1.057 GB, free: 3.754 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.372e-05/0.2709, allocations: 77.11 kB / 1.057 GB, free: 3.66 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001119/0.271, allocations: 168.6 kB / 1.057 GB, free: 3.484 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.777e-05/0.271, allocations: 25.7 kB / 1.057 GB, free: 3.453 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.05e-05/0.2711, allocations: 104.1 kB / 1.057 GB, free: 3.348 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.058e-05/0.2711, allocations: 27.56 kB / 1.057 GB, free: 3.32 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.416e-05/0.2712, allocations: 21.7 kB / 1.058 GB, free: 3.293 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.000103/0.2713, allocations: 330.8 kB / 1.058 GB, free: 2.961 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002352/0.2715, allocations: 75.92 kB / 1.058 GB, free: 2.887 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002342/0.2718, allocations: 89.64 kB / 1.058 GB, free: 2.793 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004688/0.2723, allocations: 173.5 kB / 1.058 GB, free: 2.617 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.2723, allocations: 0 / 1.058 GB, free: 2.617 MB / 0.8106 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005197/0.2728, allocations: 205.5 kB / 1.058 GB, free: 2.41 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.097e-05/0.2728, allocations: 7.938 kB / 1.058 GB, free: 2.402 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.606e-06/0.2728, allocations: 0 / 1.058 GB, free: 2.402 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.067e-05/0.2728, allocations: 3.984 kB / 1.058 GB, free: 2.398 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001856/0.273, allocations: 35.97 kB / 1.058 GB, free: 2.363 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.258e-06/0.273, allocations: 0 / 1.058 GB, free: 2.363 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001306/0.2732, allocations: 35.8 kB / 1.058 GB, free: 2.328 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.725e-06/0.2732, allocations: 7.938 kB / 1.058 GB, free: 2.32 MB / 0.8106 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.479e-05/0.2733, allocations: 133.8 kB / 1.059 GB, free: 2.18 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.504e-05/0.2733, allocations: 7.906 kB / 1.059 GB, free: 2.172 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.714e-05/0.2734, allocations: 16.25 kB / 1.059 GB, free: 2.152 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.2734, allocations: 4 kB / 1.059 GB, free: 2.148 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.2734, allocations: 0 / 1.059 GB, free: 2.148 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-06/0.2734, allocations: 3.984 kB / 1.059 GB, free: 2.145 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002499/0.2736, allocations: 225.5 kB / 1.059 GB, free: 1.875 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.437e-06/0.2737, allocations: 4 kB / 1.059 GB, free: 1.871 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001627/0.2738, allocations: 35.91 kB / 1.059 GB, free: 1.836 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/0.2738, allocations: 3.984 kB / 1.059 GB, free: 1.832 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.055e-05/0.2739, allocations: 8 kB / 1.059 GB, free: 1.824 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.2739, allocations: 0 / 1.059 GB, free: 1.824 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.2739, allocations: 3.938 kB / 1.059 GB, free: 1.82 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005485/0.2744, allocations: 378.9 kB / 1.059 GB, free: 1.434 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.676e-05/0.2745, allocations: 85.02 kB / 1.059 GB, free: 1.332 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.03e-05/0.2745, allocations: 8 kB / 1.059 GB, free: 1.324 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002234/0.2747, allocations: 23.95 kB / 1.059 GB, free: 1.301 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.954e-05/0.2748, allocations: 19.97 kB / 1.059 GB, free: 1.281 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.404e-06/0.2748, allocations: 7.938 kB / 1.059 GB, free: 1.273 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 7.546e-05/0.2749, allocations: 117.4 kB / 1.059 GB, free: 1.16 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1e-07/0.2749, allocations: 0 / 1.059 GB, free: 1.16 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0006161/0.2755, allocations: 20 kB / 1.059 GB, free: 1.141 MB / 0.8106 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.0008384/0.2763, allocations: 0.9145 MB / 1.06 GB, free: 204 kB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0004969/0.2768, allocations: 175.8 kB / 1.061 GB, free: 28 kB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.063e-06/0.2768, allocations: 0 / 1.061 GB, free: 28 kB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0002574/0.2771, allocations: 91.92 kB / 1.061 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003398/0.2775, allocations: 15.94 kB / 1.061 GB, free: 15.92 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00233/0.2798, allocations: 1.969 MB / 1.063 GB, free: 13.86 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002268/0.28, allocations: 0.708 MB / 1.063 GB, free: 13.12 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 7.321e-05/0.2801, allocations: 27.97 kB / 1.063 GB, free: 13.09 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.114e-05/0.2802, allocations: 31.42 kB / 1.063 GB, free: 13.07 MB / 0.8262 GB Notification: Performance of SimCode: time 2.21e-07/0.2802, allocations: 3.938 kB / 1.063 GB, free: 13.06 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.195/1.476, allocations: 2.651 MB / 1.066 GB, free: 10.5 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.289/8.765, allocations: 11.84 kB / 1.066 GB, free: 10.5 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_MatrixGain_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_MatrixGain.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_MatrixGain.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixGain.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches