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.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.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.00757/0.007576, allocations: 100.8 kB / 15.73 MB, free: 6.035 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.001985/0.001985, allocations: 193.3 kB / 16.67 MB, free: 5.953 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.361/1.361, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.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.208/2.208, allocations: 390.3 MB / 0.6648 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001391/0.001391, allocations: 71.89 kB / 0.9504 GB, free: 8.086 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.058/1.059, allocations: 140.4 MB / 1.088 GB, free: 5.273 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin): time 0.002345/1.062, allocations: 0.7541 MB / 1.088 GB, free: 4.785 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.000303/1.062, allocations: 54.56 kB / 1.088 GB, free: 4.754 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.969e-05/1.062, allocations: 1.031 kB / 1.088 GB, free: 4.754 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001616/1.062, allocations: 17.23 kB / 1.088 GB, free: 4.742 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.629e-05/1.062, allocations: 15.41 kB / 1.088 GB, free: 4.734 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001996/1.063, allocations: 25.78 kB / 1.088 GB, free: 4.727 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002514/1.063, allocations: 123.5 kB / 1.088 GB, free: 4.68 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003413/1.063, allocations: 151.9 kB / 1.089 GB, free: 4.625 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 9.69e-05/1.063, allocations: 68.42 kB / 1.089 GB, free: 4.598 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001144/1.063, allocations: 72.53 kB / 1.089 GB, free: 4.562 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.388e-05/1.064, allocations: 14.94 kB / 1.089 GB, free: 4.559 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 3.602e-05/1.064, allocations: 12.09 kB / 1.089 GB, free: 4.559 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 9.47e-05/1.064, allocations: 50.27 kB / 1.089 GB, free: 4.535 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001159/1.064, allocations: 93.73 kB / 1.089 GB, free: 4.469 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003628/1.064, allocations: 232.8 kB / 1.089 GB, free: 4.387 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/1.064, allocations: 0.7969 kB / 1.089 GB, free: 4.387 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.575e-06/1.064, allocations: 0 / 1.089 GB, free: 4.387 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.586e-05/1.064, allocations: 0 / 1.089 GB, free: 4.387 MB / 0.8575 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.0006719/1.065, allocations: 0.4883 MB / 1.09 GB, free: 3.945 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 6.057e-05/1.065, allocations: 14.36 kB / 1.09 GB, free: 3.941 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.142e-05/1.065, allocations: 57.5 kB / 1.09 GB, free: 3.891 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.951e-05/1.065, allocations: 27.97 kB / 1.09 GB, free: 3.875 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003562/1.065, allocations: 262.6 kB / 1.09 GB, free: 3.637 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.336e-05/1.065, allocations: 11.66 kB / 1.09 GB, free: 3.633 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.806e-05/1.066, allocations: 15.94 kB / 1.09 GB, free: 3.629 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006763/1.066, allocations: 339 kB / 1.09 GB, free: 3.504 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.555e-05/1.066, allocations: 0 / 1.09 GB, free: 3.504 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.588e-05/1.066, allocations: 14.19 kB / 1.09 GB, free: 3.492 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.091e-05/1.066, allocations: 18 kB / 1.09 GB, free: 3.488 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000562/1.067, allocations: 266.4 kB / 1.091 GB, free: 3.438 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001604/1.069, allocations: 1.085 MB / 1.092 GB, free: 2.691 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 6.576e-05/1.069, allocations: 175.3 kB / 1.092 GB, free: 2.512 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.953e-05/1.069, allocations: 88.11 kB / 1.092 GB, free: 2.422 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.383e-05/1.069, allocations: 76.09 kB / 1.092 GB, free: 2.348 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.986e-05/1.069, allocations: 111.7 kB / 1.092 GB, free: 2.23 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=0): time 1.022e-06/1.069, allocations: 0 / 1.092 GB, free: 2.23 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0): time 9.467e-05/1.069, allocations: 52.17 kB / 1.092 GB, free: 2.184 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.64e-05/1.069, allocations: 132.3 kB / 1.092 GB, free: 2.043 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006863/1.07, allocations: 0.4971 MB / 1.093 GB, free: 1.852 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 6.853e-06/1.07, allocations: 25.7 kB / 1.093 GB, free: 1.82 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001127/1.07, allocations: 174.1 kB / 1.093 GB, free: 1.672 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.258e-06/1.07, allocations: 0.5938 kB / 1.093 GB, free: 1.672 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.42e-05/1.07, allocations: 30.36 kB / 1.093 GB, free: 1.652 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 9.054e-05/1.07, allocations: 344.3 kB / 1.093 GB, free: 1.324 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.36e-05/1.07, allocations: 53.62 kB / 1.093 GB, free: 1.312 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001001/1.07, allocations: 97.81 kB / 1.093 GB, free: 1.238 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001466/1.07, allocations: 120.5 kB / 1.094 GB, free: 1.148 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/1.07, allocations: 0.7812 kB / 1.094 GB, free: 1.148 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003499/1.071, allocations: 189.4 kB / 1.094 GB, free: 1.074 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.988e-05/1.071, allocations: 12.7 kB / 1.094 GB, free: 1.07 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/1.071, allocations: 2.531 kB / 1.094 GB, free: 1.07 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.887e-05/1.071, allocations: 2.281 kB / 1.094 GB, free: 1.07 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001158/1.071, allocations: 22.83 kB / 1.094 GB, free: 1.066 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.084e-05/1.071, allocations: 2.797 kB / 1.094 GB, free: 1.066 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001001/1.071, allocations: 32.66 kB / 1.094 GB, free: 1.051 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.075e-05/1.071, allocations: 6.875 kB / 1.094 GB, free: 1.051 MB / 0.8575 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.0001535/1.071, allocations: 258.2 kB / 1.094 GB, free: 0.8398 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.719e-05/1.071, allocations: 140.4 kB / 1.094 GB, free: 0.707 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001097/1.071, allocations: 133.1 kB / 1.094 GB, free: 16.59 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.445e-05/1.071, allocations: 180.9 kB / 1.095 GB, free: 16.41 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.657e-05/1.071, allocations: 178.6 kB / 1.095 GB, free: 16.23 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.721e-05/1.071, allocations: 181.9 kB / 1.095 GB, free: 16.04 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003781/1.072, allocations: 0.4896 MB / 1.095 GB, free: 15.57 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.451e-05/1.072, allocations: 102.4 kB / 1.095 GB, free: 15.46 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.322e-05/1.072, allocations: 106.5 kB / 1.096 GB, free: 15.35 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.326e-05/1.072, allocations: 182.1 kB / 1.096 GB, free: 15.17 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.046e-05/1.072, allocations: 178.2 kB / 1.096 GB, free: 14.99 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.346e-05/1.072, allocations: 189.7 kB / 1.096 GB, free: 14.8 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.343e-05/1.072, allocations: 181.9 kB / 1.096 GB, free: 14.61 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001432/1.072, allocations: 323.3 kB / 1.097 GB, free: 14.29 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001838/1.073, allocations: 223.5 kB / 1.097 GB, free: 14.07 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.405e-05/1.073, allocations: 178.3 kB / 1.097 GB, free: 13.89 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001148/1.073, allocations: 109.4 kB / 1.097 GB, free: 13.78 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.325e-05/1.073, allocations: 185.7 kB / 1.097 GB, free: 13.59 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.357e-05/1.073, allocations: 107.3 kB / 1.097 GB, free: 13.48 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0005659/1.073, allocations: 365 kB / 1.098 GB, free: 13.34 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.4e-07/1.073, allocations: 0 / 1.098 GB, free: 13.34 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003099/1.074, allocations: 24.56 kB / 1.098 GB, free: 13.34 MB / 0.8731 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.000534/1.074, allocations: 0.8377 MB / 1.098 GB, free: 12.51 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0001828/1.075, allocations: 69.45 kB / 1.099 GB, free: 12.49 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/1.075, allocations: 0 / 1.099 GB, free: 12.49 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 1.143e-06/1.075, allocations: 0.5 kB / 1.099 GB, free: 12.49 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006848/1.075, allocations: 489.3 kB / 1.099 GB, free: 12.03 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00544/1.081, allocations: 3.303 MB / 1.102 GB, free: 10.12 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005486/1.081, allocations: 0.7729 MB / 1.103 GB, free: 9.422 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0002039/1.081, allocations: 49.23 kB / 1.103 GB, free: 9.418 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001684/1.082, allocations: 65.78 kB / 1.103 GB, free: 9.371 MB / 0.8731 GB Notification: Performance of SimCode: time 1.152e-06/1.082, allocations: 0 / 1.103 GB, free: 9.371 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02985/1.112, allocations: 4.649 MB / 1.108 GB, free: 8.816 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.477/9.588, allocations: 1.094 kB / 1.108 GB, free: 8.816 MB / 0.8731 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