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.0011/0.0011, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001136/0.001137, allocations: 197.2 kB / 16.14 MB, free: 6.711 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.344/1.344, allocations: 222.9 MB / 239.8 MB, free: 4.637 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.288/2.288, allocations: 390.2 MB / 0.6643 GB, free: 0.668 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001411/0.001411, allocations: 71.91 kB / 0.812 GB, free: 14.78 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6378/0.6392, allocations: 140.4 MB / 0.9491 GB, free: 9.199 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin): time 0.002074/0.6413, allocations: 0.7931 MB / 0.9498 GB, free: 8.594 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0002199/0.6416, allocations: 55.95 kB / 0.9499 GB, free: 8.551 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.962e-05/0.6416, allocations: 5.156 kB / 0.9499 GB, free: 8.547 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.00013/0.6418, allocations: 14.58 kB / 0.9499 GB, free: 8.535 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.521e-05/0.6418, allocations: 19.62 kB / 0.9499 GB, free: 8.52 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000143/0.642, allocations: 31.09 kB / 0.95 GB, free: 8.5 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001451/0.6421, allocations: 113.1 kB / 0.9501 GB, free: 8.445 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002049/0.6424, allocations: 157.4 kB / 0.9502 GB, free: 8.367 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.88e-05/0.6424, allocations: 59.23 kB / 0.9503 GB, free: 8.336 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.4e-05/0.6425, allocations: 73.62 kB / 0.9504 GB, free: 8.285 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.473e-05/0.6426, allocations: 8.25 kB / 0.9504 GB, free: 8.285 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 2.63e-05/0.6426, allocations: 8.25 kB / 0.9504 GB, free: 8.285 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.492e-05/0.6426, allocations: 47.09 kB / 0.9504 GB, free: 8.258 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 8.353e-05/0.6427, allocations: 81.3 kB / 0.9505 GB, free: 8.195 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001751/0.6429, allocations: 220.5 kB / 0.9507 GB, free: 8.055 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/0.6429, allocations: 5.469 kB / 0.9507 GB, free: 8.051 MB / 0.7169 GB Notification: Performance of FrontEnd: time 8.31e-07/0.6429, allocations: 0 / 0.9507 GB, free: 8.051 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.732e-06/0.6429, allocations: 0 / 0.9507 GB, free: 8.051 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.0004579/0.6434, allocations: 496.2 kB / 0.9512 GB, free: 7.586 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.808e-05/0.6434, allocations: 10.5 kB / 0.9512 GB, free: 7.586 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.496e-05/0.6435, allocations: 59.88 kB / 0.9512 GB, free: 7.527 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.105e-05/0.6436, allocations: 23.28 kB / 0.9513 GB, free: 7.516 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002077/0.6438, allocations: 265.5 kB / 0.9515 GB, free: 7.262 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.409e-05/0.6438, allocations: 12.22 kB / 0.9515 GB, free: 7.258 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.663e-05/0.6438, allocations: 20.28 kB / 0.9516 GB, free: 7.25 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004368/0.6443, allocations: 347.9 kB / 0.9519 GB, free: 7.059 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.467e-06/0.6443, allocations: 1.219 kB / 0.9519 GB, free: 7.059 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.219e-05/0.6443, allocations: 9.562 kB / 0.9519 GB, free: 7.051 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.641e-05/0.6444, allocations: 23.42 kB / 0.9519 GB, free: 7.039 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003193/0.6447, allocations: 260.8 kB / 0.9522 GB, free: 6.957 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001001/0.6457, allocations: 1.088 MB / 0.9532 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.316e-05/0.6457, allocations: 166.4 kB / 0.9534 GB, free: 5.918 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.571e-05/0.6458, allocations: 88.08 kB / 0.9535 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.094e-05/0.6458, allocations: 76.84 kB / 0.9535 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.902e-05/0.6458, allocations: 114 kB / 0.9537 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 1.282e-06/0.6458, allocations: 0 / 0.9537 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 9.276e-05/0.6459, allocations: 48.98 kB / 0.9537 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.593e-05/0.6459, allocations: 126.7 kB / 0.9538 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004835/0.6464, allocations: 0.4988 MB / 0.9543 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.199e-06/0.6464, allocations: 25.7 kB / 0.9543 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 8.026e-05/0.6465, allocations: 172.8 kB / 0.9545 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.426e-06/0.6465, allocations: 1.219 kB / 0.9545 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.83e-05/0.6466, allocations: 29.48 kB / 0.9545 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.908e-05/0.6467, allocations: 341.8 kB / 0.9549 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.813e-05/0.6467, allocations: 53.52 kB / 0.9549 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.335e-05/0.6468, allocations: 105.7 kB / 0.955 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001118/0.6469, allocations: 124.5 kB / 0.9551 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.647, allocations: 1.375 kB / 0.9551 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002702/0.6472, allocations: 190.4 kB / 0.9553 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.6472, allocations: 10.03 kB / 0.9553 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.6473, allocations: 1.938 kB / 0.9553 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.577e-05/0.6473, allocations: 6.109 kB / 0.9553 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001039/0.6474, allocations: 24.47 kB / 0.9553 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.115e-06/0.6474, allocations: 7.469 kB / 0.9554 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000103/0.6475, allocations: 33.14 kB / 0.9554 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.526e-05/0.6475, allocations: 7.375 kB / 0.9554 GB, free: 4.277 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.0001159/0.6477, allocations: 248.5 kB / 0.9556 GB, free: 4.062 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.968e-05/0.6477, allocations: 133.1 kB / 0.9558 GB, free: 3.938 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.884e-05/0.6478, allocations: 142 kB / 0.9559 GB, free: 3.805 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.213e-05/0.6478, allocations: 185.6 kB / 0.9561 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.437e-05/0.6478, allocations: 177.6 kB / 0.9562 GB, free: 3.438 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.438e-05/0.6479, allocations: 179.1 kB / 0.9564 GB, free: 3.258 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002088/0.6481, allocations: 493.3 kB / 0.9569 GB, free: 2.758 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.448e-05/0.6481, allocations: 102.3 kB / 0.957 GB, free: 2.652 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.39e-05/0.6481, allocations: 108.9 kB / 0.9571 GB, free: 2.539 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.447e-05/0.6481, allocations: 189.5 kB / 0.9573 GB, free: 2.348 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.491e-05/0.6482, allocations: 177.4 kB / 0.9574 GB, free: 2.168 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.367e-05/0.6482, allocations: 185.2 kB / 0.9576 GB, free: 1.98 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.191e-05/0.6482, allocations: 177.3 kB / 0.9578 GB, free: 1.801 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.764e-05/0.6483, allocations: 332.3 kB / 0.9581 GB, free: 1.465 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 8.251e-05/0.6484, allocations: 224.4 kB / 0.9583 GB, free: 1.238 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.53e-05/0.6485, allocations: 181.7 kB / 0.9585 GB, free: 1.055 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.262e-05/0.6486, allocations: 108.5 kB / 0.9586 GB, free: 0.9453 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.003e-05/0.6486, allocations: 181.3 kB / 0.9588 GB, free: 0.7617 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.252e-05/0.6486, allocations: 106 kB / 0.9589 GB, free: 0.6523 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0003522/0.649, allocations: 371.1 kB / 0.9592 GB, free: 468 kB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.649, allocations: 0 / 0.9592 GB, free: 468 kB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002779/0.6493, allocations: 29.53 kB / 0.9592 GB, free: 464 kB / 0.7169 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.0003589/0.6496, allocations: 0.8334 MB / 0.9601 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001323/0.6498, allocations: 69.17 kB / 0.9601 GB, free: 15.6 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.6498, allocations: 0 / 0.9601 GB, free: 15.6 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 2.364e-06/0.6498, allocations: 1.656 kB / 0.9601 GB, free: 15.6 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005594/0.6503, allocations: 0.5479 MB / 0.9607 GB, free: 15.06 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003403/0.6538, allocations: 3.334 MB / 0.9639 GB, free: 12.79 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002985/0.6541, allocations: 0.7736 MB / 0.9647 GB, free: 12.05 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 9.753e-05/0.6542, allocations: 50.17 kB / 0.9647 GB, free: 12.03 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.914e-05/0.6543, allocations: 60.7 kB / 0.9648 GB, free: 11.98 MB / 0.7325 GB Notification: Performance of SimCode: time 3.01e-07/0.6543, allocations: 0 / 0.9648 GB, free: 11.98 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01542/0.6697, allocations: 4.364 MB / 0.969 GB, free: 9.957 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001758/0.6699, allocations: 210.4 kB / 0.9692 GB, free: 9.703 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.737/2.407, allocations: 0 / 0.9692 GB, free: 9.703 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