Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin.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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.MatrixMin,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixMin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixMin",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.0008665/0.0008665, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.005369/0.005369, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.193/1.193, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.102/2.102, allocations: 390.9 MB / 0.6664 GB, free: 2.355 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004935/0.0004935, allocations: 12 kB / 0.8161 GB, free: 13.13 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5606/0.5611, allocations: 142.4 MB / 0.9552 GB, free: 7.676 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin): time 0.0006932/0.5618, allocations: 466.8 kB / 0.9556 GB, free: 7.328 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001889/0.562, allocations: 59.16 kB / 0.9557 GB, free: 7.281 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.4e-05/0.5621, allocations: 5.719 kB / 0.9557 GB, free: 7.277 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.000105/0.5622, allocations: 10.02 kB / 0.9557 GB, free: 7.27 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.886e-05/0.5622, allocations: 15.98 kB / 0.9557 GB, free: 7.258 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001321/0.5624, allocations: 23.91 kB / 0.9558 GB, free: 7.242 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001465/0.5625, allocations: 120.5 kB / 0.9559 GB, free: 7.18 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002074/0.5627, allocations: 153.9 kB / 0.956 GB, free: 7.105 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.582e-05/0.5628, allocations: 38.92 kB / 0.9561 GB, free: 7.082 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.43e-05/0.5629, allocations: 43.42 kB / 0.9561 GB, free: 7.051 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.834e-05/0.5629, allocations: 2.75 kB / 0.9561 GB, free: 7.051 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.405e-05/0.5629, allocations: 7.625 kB / 0.9561 GB, free: 7.047 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.21e-05/0.563, allocations: 39.3 kB / 0.9561 GB, free: 7.023 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 6.536e-05/0.563, allocations: 94.84 kB / 0.9562 GB, free: 6.938 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001535/0.5632, allocations: 203.6 kB / 0.9564 GB, free: 6.812 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.324e-06/0.5632, allocations: 5.094 kB / 0.9564 GB, free: 6.809 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.153e-06/0.5632, allocations: 0 / 0.9564 GB, free: 6.809 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.093e-06/0.5632, allocations: 0 / 0.9564 GB, free: 6.809 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0003628/0.5636, allocations: 460.4 kB / 0.9569 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.725e-05/0.5636, allocations: 10.25 kB / 0.9569 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.156e-05/0.5637, allocations: 66.98 kB / 0.9569 GB, free: 6.293 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.756e-05/0.5637, allocations: 25.19 kB / 0.957 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001858/0.5639, allocations: 256.8 kB / 0.9572 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.408e-05/0.5639, allocations: 12.12 kB / 0.9572 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.662e-05/0.564, allocations: 16.44 kB / 0.9572 GB, free: 6.027 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003938/0.5644, allocations: 343.4 kB / 0.9576 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/0.5644, allocations: 1.812 kB / 0.9576 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.066e-05/0.5644, allocations: 13.7 kB / 0.9576 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.806e-05/0.5645, allocations: 22.67 kB / 0.9576 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002845/0.5647, allocations: 263.5 kB / 0.9579 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009035/0.5657, allocations: 1.089 MB / 0.9589 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 3.863e-05/0.5657, allocations: 174 kB / 0.9591 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.337e-05/0.5657, allocations: 81.14 kB / 0.9592 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 8.827e-06/0.5657, allocations: 75.28 kB / 0.9592 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.879e-05/0.5658, allocations: 111 kB / 0.9593 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 9.52e-07/0.5658, allocations: 0 / 0.9593 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 8.077e-05/0.5659, allocations: 57 kB / 0.9594 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.505e-05/0.5659, allocations: 130.7 kB / 0.9595 GB, free: 4.219 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004282/0.5663, allocations: 0.4947 MB / 0.96 GB, free: 3.953 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.42e-06/0.5663, allocations: 25.7 kB / 0.96 GB, free: 3.922 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 7.813e-05/0.5664, allocations: 177.5 kB / 0.9602 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.096e-06/0.5664, allocations: 1.375 kB / 0.9602 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.262e-05/0.5664, allocations: 11.09 kB / 0.9602 GB, free: 3.746 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.992e-05/0.5665, allocations: 344.4 kB / 0.9605 GB, free: 3.41 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.518e-05/0.5666, allocations: 47.59 kB / 0.9606 GB, free: 3.395 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.753e-05/0.5666, allocations: 101.6 kB / 0.9607 GB, free: 3.305 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001079/0.5667, allocations: 119.9 kB / 0.9608 GB, free: 3.203 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.5668, allocations: 1.094 kB / 0.9608 GB, free: 3.203 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002617/0.567, allocations: 186.8 kB / 0.961 GB, free: 3.105 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.32e-05/0.567, allocations: 13.72 kB / 0.961 GB, free: 3.098 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.5671, allocations: 1.969 kB / 0.961 GB, free: 3.098 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.27e-05/0.5671, allocations: 3.031 kB / 0.961 GB, free: 3.098 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.325e-05/0.5672, allocations: 27.08 kB / 0.961 GB, free: 3.086 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.052e-06/0.5672, allocations: 3.312 kB / 0.961 GB, free: 3.086 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.43e-05/0.5673, allocations: 29.69 kB / 0.9611 GB, free: 3.07 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.679e-05/0.5673, allocations: 11.45 kB / 0.9611 GB, free: 3.066 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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.0001087/0.5674, allocations: 252.5 kB / 0.9613 GB, free: 2.848 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.697e-05/0.5675, allocations: 136 kB / 0.9614 GB, free: 2.719 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.569e-05/0.5675, allocations: 135.1 kB / 0.9616 GB, free: 2.594 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.847e-05/0.5676, allocations: 181.5 kB / 0.9617 GB, free: 2.41 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.103e-05/0.5676, allocations: 177.7 kB / 0.9619 GB, free: 2.23 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.111e-05/0.5676, allocations: 190.9 kB / 0.9621 GB, free: 2.039 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001989/0.5678, allocations: 497.3 kB / 0.9626 GB, free: 1.535 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.098e-05/0.5678, allocations: 101.9 kB / 0.9627 GB, free: 1.43 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.375e-05/0.5678, allocations: 110 kB / 0.9628 GB, free: 1.316 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.479e-05/0.5679, allocations: 185.2 kB / 0.9629 GB, free: 1.129 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.263e-05/0.5679, allocations: 181.4 kB / 0.9631 GB, free: 0.9453 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.975e-05/0.5679, allocations: 177.4 kB / 0.9633 GB, free: 0.7656 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.986e-05/0.5679, allocations: 184.2 kB / 0.9635 GB, free: 0.5781 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.209e-05/0.568, allocations: 325.6 kB / 0.9638 GB, free: 256 kB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 9.432e-05/0.5681, allocations: 232.1 kB / 0.964 GB, free: 24 kB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.996e-05/0.5682, allocations: 185.3 kB / 0.9642 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001029/0.5683, allocations: 104.5 kB / 0.9643 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.332e-05/0.5684, allocations: 189.3 kB / 0.9644 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.677e-05/0.5684, allocations: 106.2 kB / 0.9645 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0003734/0.5688, allocations: 366.5 kB / 0.9649 GB, free: 15.24 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5688, allocations: 0 / 0.9649 GB, free: 15.24 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002656/0.5691, allocations: 24.62 kB / 0.9649 GB, free: 15.24 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (0): * Single equations (assignments): 0 * 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.0003678/0.5695, allocations: 0.8379 MB / 0.9657 GB, free: 14.41 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001322/0.5696, allocations: 64.95 kB / 0.9658 GB, free: 14.38 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.5696, allocations: 1.281 kB / 0.9658 GB, free: 14.38 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.883e-06/0.5696, allocations: 0 / 0.9658 GB, free: 14.38 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004928/0.5701, allocations: 0.5477 MB / 0.9663 GB, free: 13.84 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003146/0.5733, allocations: 3.328 MB / 0.9696 GB, free: 11.57 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002872/0.5736, allocations: 0.7762 MB / 0.9703 GB, free: 10.83 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 9.278e-05/0.5737, allocations: 50.89 kB / 0.9704 GB, free: 10.82 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.615e-05/0.5738, allocations: 60.8 kB / 0.9705 GB, free: 10.77 MB / 0.7325 GB Notification: Performance of SimCode: time 5.21e-07/0.5738, allocations: 0 / 0.9705 GB, free: 10.77 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6902/1.264, allocations: 4.24 MB / 0.9746 GB, free: 8.867 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001619/1.264, allocations: 218 kB / 0.9748 GB, free: 8.605 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.717/2.982, allocations: 0 / 0.9748 GB, free: 8.605 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixMin_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixMin.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_MatrixMin.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches