Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.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 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.MatrixMin,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_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.001532/0.001532, allocations: 108 kB / 15.6 MB, free: 132 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.00178/0.00178, allocations: 198.3 kB / 16.54 MB, free: 6.672 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.304/1.304, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.535/2.535, allocations: 461.9 MB / 0.7346 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001211/0.001211, allocations: 66.52 kB / 0.8992 GB, free: 37 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3108/0.312, allocations: 157.4 MB / 1.053 GB, free: 8.246 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin): time 0.002032/0.3141, allocations: 0.7565 MB / 1.054 GB, free: 7.492 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0002334/0.3143, allocations: 63.83 kB / 1.054 GB, free: 7.43 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.011e-05/0.3144, allocations: 0 / 1.054 GB, free: 7.43 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001366/0.3145, allocations: 19.86 kB / 1.054 GB, free: 7.41 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 4.36e-05/0.3146, allocations: 11.92 kB / 1.054 GB, free: 7.398 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001375/0.3147, allocations: 23.98 kB / 1.054 GB, free: 7.375 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.000157/0.3149, allocations: 123.6 kB / 1.054 GB, free: 7.254 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002409/0.3152, allocations: 160.5 kB / 1.054 GB, free: 7.09 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 7.326e-05/0.3152, allocations: 67.78 kB / 1.054 GB, free: 7.023 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001017/0.3153, allocations: 75.64 kB / 1.054 GB, free: 6.949 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.581e-05/0.3154, allocations: 12 kB / 1.054 GB, free: 6.938 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 2.777e-05/0.3154, allocations: 12 kB / 1.054 GB, free: 6.926 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 6.684e-05/0.3155, allocations: 47.86 kB / 1.054 GB, free: 6.879 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 9.115e-05/0.3156, allocations: 87.42 kB / 1.054 GB, free: 6.793 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002215/0.3158, allocations: 227.3 kB / 1.055 GB, free: 6.57 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.3158, allocations: 3.938 kB / 1.055 GB, free: 6.566 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.122e-06/0.3158, allocations: 0 / 1.055 GB, free: 6.566 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.064e-05/0.3158, allocations: 0 / 1.055 GB, free: 6.566 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0005254/0.3164, allocations: 499.4 kB / 1.055 GB, free: 6.027 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.874e-05/0.3164, allocations: 8.625 kB / 1.055 GB, free: 6.02 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.87e-05/0.3165, allocations: 58.67 kB / 1.055 GB, free: 5.953 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.531e-05/0.3165, allocations: 28.56 kB / 1.055 GB, free: 5.926 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002382/0.3168, allocations: 267.8 kB / 1.055 GB, free: 5.625 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.451e-05/0.3168, allocations: 12.75 kB / 1.055 GB, free: 5.613 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.34e-05/0.3168, allocations: 16.38 kB / 1.055 GB, free: 5.598 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004089/0.3173, allocations: 336.9 kB / 1.056 GB, free: 5.258 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.3173, allocations: 3.984 kB / 1.056 GB, free: 5.254 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.811e-05/0.3173, allocations: 8 kB / 1.056 GB, free: 5.246 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.023e-05/0.3173, allocations: 12 kB / 1.056 GB, free: 5.234 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003032/0.3176, allocations: 271.8 kB / 1.056 GB, free: 4.969 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001082/0.3187, allocations: 1.088 MB / 1.057 GB, free: 3.82 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 7.583e-05/0.3188, allocations: 165.1 kB / 1.057 GB, free: 3.648 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.982e-05/0.3189, allocations: 88.14 kB / 1.057 GB, free: 3.559 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.1e-05/0.3189, allocations: 79.22 kB / 1.057 GB, free: 3.48 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.659e-05/0.3189, allocations: 114 kB / 1.057 GB, free: 3.359 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=0): time 1.102e-06/0.3189, allocations: 0 / 1.057 GB, free: 3.359 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0): time 8.68e-05/0.319, allocations: 53.33 kB / 1.058 GB, free: 3.301 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.588e-05/0.3191, allocations: 126.7 kB / 1.058 GB, free: 3.164 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004856/0.3196, allocations: 0.4965 MB / 1.058 GB, free: 2.656 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 9.187e-06/0.3196, allocations: 25.7 kB / 1.058 GB, free: 2.625 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001116/0.3197, allocations: 171.8 kB / 1.058 GB, free: 2.453 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.065e-06/0.3197, allocations: 0 / 1.058 GB, free: 2.453 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.98e-05/0.3198, allocations: 33.61 kB / 1.058 GB, free: 2.414 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001166/0.3199, allocations: 338.8 kB / 1.059 GB, free: 2.074 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.54e-05/0.32, allocations: 51.95 kB / 1.059 GB, free: 2.023 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.283e-05/0.3201, allocations: 102.8 kB / 1.059 GB, free: 1.898 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001384/0.3202, allocations: 114.8 kB / 1.059 GB, free: 1.762 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.486e-06/0.3202, allocations: 0 / 1.059 GB, free: 1.762 MB / 0.8106 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002846/0.3205, allocations: 197.1 kB / 1.059 GB, free: 1.562 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.451e-05/0.3205, allocations: 7.938 kB / 1.059 GB, free: 1.555 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.144e-06/0.3205, allocations: 8.25 kB / 1.059 GB, free: 1.547 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.3206, allocations: 0 / 1.059 GB, free: 1.547 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.512e-05/0.3207, allocations: 23.92 kB / 1.059 GB, free: 1.523 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.112e-06/0.3207, allocations: 4 kB / 1.059 GB, free: 1.52 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.435e-05/0.3208, allocations: 35.69 kB / 1.059 GB, free: 1.484 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.379e-05/0.3208, allocations: 4 kB / 1.059 GB, free: 1.48 MB / 0.8106 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.00015/0.3209, allocations: 249.1 kB / 1.059 GB, free: 1.227 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.628e-05/0.321, allocations: 136.5 kB / 1.06 GB, free: 1.086 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.304e-05/0.3211, allocations: 134.8 kB / 1.06 GB, free: 0.9492 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.032e-05/0.3212, allocations: 180.3 kB / 1.06 GB, free: 0.7656 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.384e-05/0.3212, allocations: 192.2 kB / 1.06 GB, free: 0.5703 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.954e-05/0.3213, allocations: 176.3 kB / 1.06 GB, free: 400 kB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000301/0.3216, allocations: 497 kB / 1.061 GB, free: 15.85 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.269e-05/0.3217, allocations: 109 kB / 1.061 GB, free: 15.73 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.338e-05/0.3217, allocations: 108.9 kB / 1.061 GB, free: 15.62 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 6e-05/0.3218, allocations: 184.2 kB / 1.061 GB, free: 15.43 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.245e-05/0.3218, allocations: 176.3 kB / 1.061 GB, free: 15.25 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.105e-05/0.3219, allocations: 184.2 kB / 1.061 GB, free: 15.07 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.06e-05/0.322, allocations: 176.8 kB / 1.062 GB, free: 14.89 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001443/0.3221, allocations: 335.4 kB / 1.062 GB, free: 14.54 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001343/0.3223, allocations: 222 kB / 1.062 GB, free: 14.29 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.568e-05/0.3223, allocations: 180.2 kB / 1.062 GB, free: 14.11 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001086/0.3224, allocations: 109 kB / 1.062 GB, free: 14 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.9e-05/0.3225, allocations: 184.2 kB / 1.063 GB, free: 13.81 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.234e-05/0.3226, allocations: 109 kB / 1.063 GB, free: 13.7 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0003365/0.3229, allocations: 359 kB / 1.063 GB, free: 13.35 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3229, allocations: 0 / 1.063 GB, free: 13.35 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002776/0.3232, allocations: 28 kB / 1.063 GB, free: 13.32 MB / 0.8262 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.0004153/0.3236, allocations: 0.8357 MB / 1.064 GB, free: 12.46 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001235/0.3238, allocations: 71.89 kB / 1.064 GB, free: 12.39 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.3238, allocations: 0 / 1.064 GB, free: 12.39 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.422e-06/0.3238, allocations: 4 kB / 1.064 GB, free: 12.38 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004767/0.3243, allocations: 484.9 kB / 1.064 GB, free: 11.91 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003/0.3273, allocations: 3.312 MB / 1.068 GB, free: 8.473 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003067/0.3276, allocations: 0.7749 MB / 1.068 GB, free: 7.672 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 7.773e-05/0.3277, allocations: 49.52 kB / 1.068 GB, free: 7.625 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.977e-05/0.3278, allocations: 63.42 kB / 1.069 GB, free: 7.562 MB / 0.8262 GB Notification: Performance of SimCode: time 2.6e-07/0.3278, allocations: 3.938 kB / 1.069 GB, free: 7.559 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02003/0.3478, allocations: 4.534 MB / 1.073 GB, free: 3.109 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.362/7.71, allocations: 9.25 kB / 1.073 GB, free: 3.102 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMin_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMin.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMin.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches