Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.Reals.Validation.MatrixMin,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMin",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin,fileNamePrefix="Buildings_11_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.004279/0.004279, allocations: 101.9 kB / 15.73 MB, free: 6.066 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.001186/0.001186, allocations: 196.9 kB / 16.68 MB, free: 5.973 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.311/1.311, allocations: 222.9 MB / 240.4 MB, free: 4.184 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.595/2.595, allocations: 469.8 MB / 0.7425 GB, free: 7.355 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001796/0.001796, allocations: 71.88 kB / 1.065 GB, free: 13.54 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2834/0.2852, allocations: 159.1 MB / 1.22 GB, free: 14.29 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin): time 0.001814/0.2871, allocations: 0.7469 MB / 1.221 GB, free: 13.54 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0002291/0.2873, allocations: 57.69 kB / 1.221 GB, free: 13.48 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.185e-05/0.2873, allocations: 4 kB / 1.221 GB, free: 13.48 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001359/0.2875, allocations: 19.8 kB / 1.221 GB, free: 13.46 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.306e-05/0.2875, allocations: 7.984 kB / 1.221 GB, free: 13.45 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001508/0.2877, allocations: 23.97 kB / 1.221 GB, free: 13.43 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001809/0.2879, allocations: 123.6 kB / 1.221 GB, free: 13.3 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002394/0.2881, allocations: 160.5 kB / 1.221 GB, free: 13.14 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 7.376e-05/0.2882, allocations: 63.8 kB / 1.221 GB, free: 13.08 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 8.801e-05/0.2883, allocations: 75.64 kB / 1.221 GB, free: 13.01 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.719e-05/0.2884, allocations: 12 kB / 1.221 GB, free: 13 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 2.92e-05/0.2884, allocations: 12 kB / 1.221 GB, free: 12.98 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 7.873e-05/0.2885, allocations: 63.83 kB / 1.222 GB, free: 12.92 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 9.122e-05/0.2886, allocations: 83.42 kB / 1.222 GB, free: 12.84 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002445/0.2888, allocations: 235 kB / 1.222 GB, free: 12.61 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.091e-06/0.2888, allocations: 0 / 1.222 GB, free: 12.61 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.263e-06/0.2888, allocations: 3.938 kB / 1.222 GB, free: 12.61 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.951e-06/0.2888, allocations: 0 / 1.222 GB, free: 12.61 MB / 0.9825 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.0005438/0.2894, allocations: 0.5026 MB / 1.222 GB, free: 12.05 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.686e-05/0.2894, allocations: 12.03 kB / 1.222 GB, free: 12.04 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.153e-05/0.2895, allocations: 58.73 kB / 1.222 GB, free: 11.97 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.562e-05/0.2896, allocations: 24.8 kB / 1.222 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002574/0.2898, allocations: 257 kB / 1.223 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.745e-05/0.2898, allocations: 12.75 kB / 1.223 GB, free: 11.65 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.642e-05/0.2899, allocations: 16.38 kB / 1.223 GB, free: 11.63 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004526/0.2903, allocations: 340.9 kB / 1.223 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.2904, allocations: 0 / 1.223 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.418e-05/0.2904, allocations: 15.98 kB / 1.223 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.922e-05/0.2904, allocations: 15.98 kB / 1.223 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000332/0.2908, allocations: 267.8 kB / 1.223 GB, free: 10.99 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001154/0.2919, allocations: 1.088 MB / 1.224 GB, free: 9.844 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 8.514e-05/0.292, allocations: 177.1 kB / 1.225 GB, free: 9.66 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.604e-05/0.2921, allocations: 80.14 kB / 1.225 GB, free: 9.578 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.668e-05/0.2921, allocations: 75.28 kB / 1.225 GB, free: 9.504 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.405e-05/0.2921, allocations: 110 kB / 1.225 GB, free: 9.387 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 1.102e-06/0.2921, allocations: 3.938 kB / 1.225 GB, free: 9.383 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 9.33e-05/0.2922, allocations: 57.45 kB / 1.225 GB, free: 9.32 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.74e-05/0.2923, allocations: 138.6 kB / 1.225 GB, free: 9.172 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005286/0.2929, allocations: 0.4965 MB / 1.225 GB, free: 8.66 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.17e-05/0.2929, allocations: 25.7 kB / 1.226 GB, free: 8.629 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001239/0.293, allocations: 171.9 kB / 1.226 GB, free: 8.457 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.595e-06/0.293, allocations: 0 / 1.226 GB, free: 8.457 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.672e-05/0.2931, allocations: 29.7 kB / 1.226 GB, free: 8.422 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001412/0.2932, allocations: 342.8 kB / 1.226 GB, free: 8.078 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.043e-05/0.2933, allocations: 55.95 kB / 1.226 GB, free: 8.023 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.63e-05/0.2934, allocations: 90.83 kB / 1.226 GB, free: 7.91 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000139/0.2935, allocations: 122.7 kB / 1.226 GB, free: 7.766 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.2935, allocations: 0 / 1.226 GB, free: 7.766 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000286/0.2938, allocations: 193.4 kB / 1.226 GB, free: 7.57 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.2939, allocations: 11.94 kB / 1.226 GB, free: 7.559 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.708e-06/0.2939, allocations: 0 / 1.226 GB, free: 7.559 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.684e-05/0.2939, allocations: 11.98 kB / 1.226 GB, free: 7.547 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.108e-05/0.294, allocations: 16 kB / 1.227 GB, free: 7.531 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.124e-06/0.294, allocations: 3.984 kB / 1.227 GB, free: 7.527 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.116e-05/0.2941, allocations: 31.78 kB / 1.227 GB, free: 7.496 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.993e-05/0.2941, allocations: 12 kB / 1.227 GB, free: 7.484 MB / 0.9825 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.0001672/0.2943, allocations: 253.1 kB / 1.227 GB, free: 7.227 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.77e-05/0.2944, allocations: 132.7 kB / 1.227 GB, free: 7.09 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.775e-05/0.2945, allocations: 138.8 kB / 1.227 GB, free: 6.945 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.306e-05/0.2945, allocations: 180.3 kB / 1.227 GB, free: 6.762 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-05/0.2946, allocations: 176.3 kB / 1.227 GB, free: 6.582 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.235e-05/0.2947, allocations: 188.2 kB / 1.228 GB, free: 6.391 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003198/0.295, allocations: 493.1 kB / 1.228 GB, free: 5.852 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.371e-05/0.2951, allocations: 104.9 kB / 1.228 GB, free: 5.742 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.981e-05/0.2951, allocations: 105 kB / 1.228 GB, free: 5.633 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.926e-05/0.2952, allocations: 180.2 kB / 1.228 GB, free: 5.449 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.204e-05/0.2953, allocations: 184.2 kB / 1.229 GB, free: 5.262 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.889e-05/0.2953, allocations: 180.4 kB / 1.229 GB, free: 5.078 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.642e-05/0.2954, allocations: 184.4 kB / 1.229 GB, free: 4.891 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001636/0.2956, allocations: 327.7 kB / 1.229 GB, free: 4.547 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001326/0.2957, allocations: 221.8 kB / 1.229 GB, free: 4.305 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.394e-05/0.2958, allocations: 184.2 kB / 1.23 GB, free: 4.117 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001074/0.2959, allocations: 112.9 kB / 1.23 GB, free: 4 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.385e-05/0.296, allocations: 180.3 kB / 1.23 GB, free: 3.816 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.215e-05/0.2961, allocations: 105 kB / 1.23 GB, free: 3.707 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0003648/0.2964, allocations: 367 kB / 1.23 GB, free: 3.352 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.793e-06/0.2964, allocations: 0 / 1.23 GB, free: 3.352 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002468/0.2967, allocations: 27.94 kB / 1.23 GB, free: 3.324 MB / 0.9825 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.0004881/0.2972, allocations: 0.8441 MB / 1.231 GB, free: 2.453 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001386/0.2973, allocations: 67.89 kB / 1.231 GB, free: 2.387 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.2973, allocations: 0 / 1.231 GB, free: 2.387 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 3.286e-06/0.2973, allocations: 4.438 kB / 1.231 GB, free: 2.383 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005147/0.2979, allocations: 487 kB / 1.232 GB, free: 1.902 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00318/0.301, allocations: 3.3 MB / 1.235 GB, free: 14.48 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00037/0.3014, allocations: 0.7749 MB / 1.236 GB, free: 13.68 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 8.655e-05/0.3015, allocations: 53.5 kB / 1.236 GB, free: 13.62 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.162e-05/0.3016, allocations: 63.42 kB / 1.236 GB, free: 13.56 MB / 0.9981 GB Notification: Performance of SimCode: time 2.4e-07/0.3016, allocations: 0 / 1.236 GB, free: 13.56 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7521/1.054, allocations: 4.608 MB / 1.24 GB, free: 9.055 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.81/12.86, allocations: 16.56 kB / 1.24 GB, free: 9.039 MB / 0.9981 GB (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMin_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMin.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMin.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches