Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Continuous.Validation.MatrixGain,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_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.001572/0.001572, 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.00186/0.001861, allocations: 195.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.37/1.37, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.276/2.276, allocations: 390.2 MB / 0.6647 GB, free: 452 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001318/0.001318, allocations: 67.91 kB / 0.8127 GB, free: 14.36 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5664/0.5677, allocations: 140.4 MB / 0.9497 GB, free: 9.125 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain): time 0.002/0.5698, allocations: 0.7558 MB / 0.9505 GB, free: 8.543 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0007367/0.5705, allocations: 0.8289 MB / 0.9513 GB, free: 7.863 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.189e-05/0.5706, allocations: 1.375 kB / 0.9513 GB, free: 7.863 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001739/0.5708, allocations: 61.91 kB / 0.9513 GB, free: 7.828 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.831e-05/0.5708, allocations: 33.59 kB / 0.9514 GB, free: 7.809 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 6.63e-05/0.5709, allocations: 18.72 kB / 0.9514 GB, free: 7.793 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001093/0.571, allocations: 103 kB / 0.9515 GB, free: 7.73 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001209/0.5711, allocations: 18.09 kB / 0.9515 GB, free: 7.723 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.48e-05/0.5712, allocations: 41.27 kB / 0.9516 GB, free: 7.699 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001281/0.5713, allocations: 85.66 kB / 0.9516 GB, free: 7.652 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.496e-05/0.5714, allocations: 7.938 kB / 0.9516 GB, free: 7.652 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.932e-05/0.5714, allocations: 7.594 kB / 0.9517 GB, free: 7.652 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 6.889e-05/0.5715, allocations: 35.16 kB / 0.9517 GB, free: 7.629 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.03e-05/0.5715, allocations: 41.3 kB / 0.9517 GB, free: 7.598 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001137/0.5716, allocations: 113 kB / 0.9518 GB, free: 7.516 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.5717, allocations: 4 kB / 0.9518 GB, free: 7.512 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.363e-06/0.5717, allocations: 0 / 0.9518 GB, free: 7.512 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.035e-06/0.5717, allocations: 5.5 kB / 0.9518 GB, free: 7.508 MB / 0.7169 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.0006428/0.5723, allocations: 462.8 kB / 0.9523 GB, free: 7.07 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.885e-05/0.5724, allocations: 9.531 kB / 0.9523 GB, free: 7.07 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.97e-05/0.5724, allocations: 36.91 kB / 0.9523 GB, free: 7.027 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.144e-05/0.5724, allocations: 14.16 kB / 0.9523 GB, free: 7.02 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001421/0.5726, allocations: 206.9 kB / 0.9525 GB, free: 6.797 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.696e-06/0.5726, allocations: 1.469 kB / 0.9525 GB, free: 6.797 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.581e-05/0.5726, allocations: 3.469 kB / 0.9525 GB, free: 6.797 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003556/0.573, allocations: 153.4 kB / 0.9527 GB, free: 6.691 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/0.573, allocations: 7.875 kB / 0.9527 GB, free: 6.684 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.304e-05/0.573, allocations: 1.469 kB / 0.9527 GB, free: 6.684 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.032e-06/0.573, allocations: 5.5 kB / 0.9527 GB, free: 6.68 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004903/0.5735, allocations: 171.4 kB / 0.9529 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006802/0.5742, allocations: 0.5074 MB / 0.9534 GB, free: 6.137 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003573/0.5746, allocations: 166.5 kB / 0.9535 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002441/0.5748, allocations: 89.8 kB / 0.9536 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.828e-05/0.5749, allocations: 9.312 kB / 0.9536 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.343e-05/0.5749, allocations: 35.84 kB / 0.9536 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=8): time 1.282e-06/0.5749, allocations: 0 / 0.9536 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8): time 0.0008755/0.5758, allocations: 285.5 kB / 0.9539 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.725e-05/0.5758, allocations: 82.36 kB / 0.954 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001041/0.5759, allocations: 163.9 kB / 0.9542 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.085e-05/0.5759, allocations: 26.77 kB / 0.9542 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.695e-05/0.576, allocations: 100.8 kB / 0.9543 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.875e-05/0.576, allocations: 31.8 kB / 0.9543 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.147e-05/0.5761, allocations: 20.41 kB / 0.9543 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.916e-05/0.5761, allocations: 330.1 kB / 0.9546 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002434/0.5764, allocations: 75.52 kB / 0.9547 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002439/0.5766, allocations: 92.33 kB / 0.9548 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004732/0.5771, allocations: 172.3 kB / 0.955 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.948e-06/0.5771, allocations: 1.156 kB / 0.955 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005407/0.5776, allocations: 209.9 kB / 0.9552 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.741e-05/0.5777, allocations: 5.375 kB / 0.9552 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.5777, allocations: 0 / 0.9552 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.598e-05/0.5777, allocations: 5.531 kB / 0.9552 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002077/0.5779, allocations: 38.27 kB / 0.9552 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.286e-06/0.5779, allocations: 1.406 kB / 0.9552 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001312/0.5781, allocations: 20.91 kB / 0.9552 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.206e-05/0.5781, allocations: 6.375 kB / 0.9552 GB, free: 4.746 MB / 0.7169 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.58e-05/0.5782, allocations: 132.4 kB / 0.9554 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.193e-05/0.5782, allocations: 13.81 kB / 0.9554 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.824e-05/0.5783, allocations: 23.89 kB / 0.9554 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.947e-06/0.5783, allocations: 1.281 kB / 0.9554 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.663e-06/0.5783, allocations: 1.344 kB / 0.9554 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/0.5783, allocations: 1.281 kB / 0.9554 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002535/0.5786, allocations: 230.8 kB / 0.9556 GB, free: 4.348 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.5786, allocations: 0 / 0.9556 GB, free: 4.348 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001641/0.5788, allocations: 34.33 kB / 0.9557 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.5788, allocations: 3.188 kB / 0.9557 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.142e-05/0.5788, allocations: 0 / 0.9557 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/0.5788, allocations: 4 kB / 0.9557 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.5788, allocations: 11.19 kB / 0.9557 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005444/0.5794, allocations: 382.4 kB / 0.956 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.543e-05/0.5794, allocations: 97.06 kB / 0.9561 GB, free: 3.922 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.237e-05/0.5794, allocations: 0 / 0.9561 GB, free: 3.922 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001859/0.5796, allocations: 21.81 kB / 0.9562 GB, free: 3.914 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.127e-05/0.5797, allocations: 11.55 kB / 0.9562 GB, free: 3.906 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.326e-06/0.5797, allocations: 2.469 kB / 0.9562 GB, free: 3.906 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 7.897e-05/0.5798, allocations: 122.3 kB / 0.9563 GB, free: 3.812 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.41e-07/0.5798, allocations: 0 / 0.9563 GB, free: 3.812 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000276/0.5801, allocations: 16.66 kB / 0.9563 GB, free: 3.812 MB / 0.7169 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.0008027/0.5809, allocations: 0.9138 MB / 0.9572 GB, free: 2.992 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0005437/0.5814, allocations: 184.8 kB / 0.9574 GB, free: 2.91 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.5814, allocations: 0 / 0.9574 GB, free: 2.91 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.000273/0.5817, allocations: 96.61 kB / 0.9575 GB, free: 2.867 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003642/0.5821, allocations: 11.06 kB / 0.9575 GB, free: 2.863 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002494/0.5846, allocations: 1.959 MB / 0.9594 GB, free: 1.246 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002006/0.5848, allocations: 0.7177 MB / 0.9601 GB, free: 0.5273 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 9.155e-05/0.5849, allocations: 37.81 kB / 0.9601 GB, free: 0.5078 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.079e-05/0.585, allocations: 27.56 kB / 0.9602 GB, free: 496 kB / 0.7169 GB Notification: Performance of SimCode: time 3.5e-07/0.585, allocations: 0 / 0.9602 GB, free: 496 kB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02206/0.6071, allocations: 2.655 MB / 0.9627 GB, free: 15.11 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.305/7.912, allocations: 7.391 kB / 0.9628 GB, free: 15.11 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixGain_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixGain.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixGain.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixGain.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches