Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.MatrixMax,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMax",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMax",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.005126/0.005126, allocations: 100.5 kB / 15.73 MB, free: 5.953 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.001352/0.001352, allocations: 192.8 kB / 16.67 MB, free: 5.875 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.253/1.253, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.512/2.512, allocations: 482.6 MB / 0.7551 GB, free: 6.637 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001782/0.001782, allocations: 78.55 kB / 1.083 GB, free: 13.73 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2723/0.2741, allocations: 162.3 MB / 1.242 GB, free: 8.828 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax): time 0.001687/0.2758, allocations: 0.7333 MB / 1.243 GB, free: 8.098 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0002012/0.276, allocations: 63.75 kB / 1.243 GB, free: 8.035 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.057e-05/0.2761, allocations: 7.938 kB / 1.243 GB, free: 8.027 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001161/0.2762, allocations: 11.86 kB / 1.243 GB, free: 8.016 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 4.809e-05/0.2763, allocations: 19.92 kB / 1.243 GB, free: 7.996 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.000131/0.2764, allocations: 23.97 kB / 1.243 GB, free: 7.973 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001764/0.2766, allocations: 123.6 kB / 1.243 GB, free: 7.852 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002285/0.2768, allocations: 160.5 kB / 1.243 GB, free: 7.691 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 6.972e-05/0.2769, allocations: 63.8 kB / 1.243 GB, free: 7.629 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 8.314e-05/0.277, allocations: 75.64 kB / 1.243 GB, free: 7.555 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.274e-05/0.277, allocations: 12 kB / 1.243 GB, free: 7.543 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 2.763e-05/0.2771, allocations: 8.344 kB / 1.243 GB, free: 7.535 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 7.205e-05/0.2771, allocations: 59.78 kB / 1.243 GB, free: 7.477 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 8.807e-05/0.2772, allocations: 79.48 kB / 1.243 GB, free: 7.398 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002371/0.2775, allocations: 239.2 kB / 1.244 GB, free: 7.164 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.2775, allocations: 0 / 1.244 GB, free: 7.164 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.132e-06/0.2775, allocations: 3.938 kB / 1.244 GB, free: 7.16 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.729e-06/0.2775, allocations: 0 / 1.244 GB, free: 7.16 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0005204/0.278, allocations: 0.4987 MB / 1.244 GB, free: 6.609 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.283e-05/0.2781, allocations: 8.031 kB / 1.244 GB, free: 6.602 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.37e-05/0.2781, allocations: 54.73 kB / 1.244 GB, free: 6.539 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.311e-05/0.2782, allocations: 24.8 kB / 1.244 GB, free: 6.516 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002589/0.2784, allocations: 256 kB / 1.244 GB, free: 6.227 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.421e-05/0.2784, allocations: 16.69 kB / 1.244 GB, free: 6.211 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.907e-05/0.2785, allocations: 20.38 kB / 1.244 GB, free: 6.191 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004502/0.2789, allocations: 348.9 kB / 1.245 GB, free: 5.832 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.966e-06/0.279, allocations: 0 / 1.245 GB, free: 5.832 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.988e-05/0.279, allocations: 4 kB / 1.245 GB, free: 5.828 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.703e-05/0.279, allocations: 15.94 kB / 1.245 GB, free: 5.812 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003323/0.2793, allocations: 271.4 kB / 1.245 GB, free: 5.551 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001109/0.2805, allocations: 1.088 MB / 1.246 GB, free: 4.402 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 8.07e-05/0.2806, allocations: 169.1 kB / 1.246 GB, free: 4.227 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.675e-05/0.2806, allocations: 80.14 kB / 1.246 GB, free: 4.145 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 3.281e-05/0.2806, allocations: 83.27 kB / 1.246 GB, free: 4.062 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.752e-05/0.2807, allocations: 114 kB / 1.246 GB, free: 3.941 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=0): time 9.42e-07/0.2807, allocations: 0 / 1.246 GB, free: 3.941 MB / 0.9669 GB Notification: Performance of matching and sorting (n=0): time 8.873e-05/0.2808, allocations: 53.5 kB / 1.247 GB, free: 3.883 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.358e-05/0.2809, allocations: 126.7 kB / 1.247 GB, free: 3.746 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005303/0.2814, allocations: 0.4887 MB / 1.247 GB, free: 3.246 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.466e-05/0.2814, allocations: 25.7 kB / 1.247 GB, free: 3.215 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001201/0.2815, allocations: 179.8 kB / 1.247 GB, free: 3.035 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.997e-06/0.2815, allocations: 3.984 kB / 1.247 GB, free: 3.031 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.45e-05/0.2816, allocations: 25.72 kB / 1.247 GB, free: 3 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001406/0.2818, allocations: 342.8 kB / 1.248 GB, free: 2.656 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.653e-05/0.2818, allocations: 47.95 kB / 1.248 GB, free: 2.609 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.686e-05/0.2819, allocations: 97.91 kB / 1.248 GB, free: 2.492 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001258/0.2821, allocations: 105.9 kB / 1.248 GB, free: 2.367 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.2821, allocations: 4 kB / 1.248 GB, free: 2.363 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002744/0.2823, allocations: 185.2 kB / 1.248 GB, free: 2.176 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/0.2824, allocations: 15.88 kB / 1.248 GB, free: 2.16 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.908e-06/0.2824, allocations: 0 / 1.248 GB, free: 2.16 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.224e-05/0.2824, allocations: 4 kB / 1.248 GB, free: 2.156 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.845e-05/0.2825, allocations: 19.98 kB / 1.248 GB, free: 2.137 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.2825, allocations: 0 / 1.248 GB, free: 2.137 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.04e-05/0.2826, allocations: 43.98 kB / 1.248 GB, free: 2.094 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.343e-05/0.2826, allocations: 4 kB / 1.248 GB, free: 2.09 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (7): * Single equations (assignments): 7 * 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.0001611/0.2828, allocations: 249 kB / 1.248 GB, free: 1.836 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.013e-05/0.2829, allocations: 132.8 kB / 1.249 GB, free: 1.699 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.587e-05/0.283, allocations: 130.8 kB / 1.249 GB, free: 1.562 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.692e-05/0.283, allocations: 184.2 kB / 1.249 GB, free: 1.375 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.954e-05/0.2831, allocations: 185.8 kB / 1.249 GB, free: 1.188 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.185e-05/0.2832, allocations: 180.2 kB / 1.249 GB, free: 1.004 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003118/0.2835, allocations: 493 kB / 1.25 GB, free: 476 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.137e-05/0.2835, allocations: 101 kB / 1.25 GB, free: 368 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.048e-05/0.2836, allocations: 108.9 kB / 1.25 GB, free: 252 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.048e-05/0.2837, allocations: 192.2 kB / 1.25 GB, free: 52 kB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.656e-05/0.2838, allocations: 184.2 kB / 1.25 GB, free: 15.86 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.312e-05/0.2838, allocations: 176.3 kB / 1.25 GB, free: 15.68 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.866e-05/0.2839, allocations: 180.3 kB / 1.251 GB, free: 15.5 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001639/0.2841, allocations: 331.6 kB / 1.251 GB, free: 15.15 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001283/0.2842, allocations: 222.1 kB / 1.251 GB, free: 14.91 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.31e-05/0.2843, allocations: 184.2 kB / 1.251 GB, free: 14.72 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001096/0.2844, allocations: 109 kB / 1.251 GB, free: 14.61 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.809e-05/0.2845, allocations: 184.2 kB / 1.252 GB, free: 14.42 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.731e-05/0.2845, allocations: 101 kB / 1.252 GB, free: 14.32 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0003656/0.2849, allocations: 367 kB / 1.252 GB, free: 13.96 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2849, allocations: 4 kB / 1.252 GB, free: 13.95 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002631/0.2852, allocations: 24 kB / 1.252 GB, free: 13.93 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.000447/0.2856, allocations: 0.8364 MB / 1.253 GB, free: 13.07 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001331/0.2858, allocations: 68.02 kB / 1.253 GB, free: 13 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.2858, allocations: 0 / 1.253 GB, free: 13 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.172e-06/0.2858, allocations: 4 kB / 1.253 GB, free: 13 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005162/0.2863, allocations: 482.7 kB / 1.253 GB, free: 12.52 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003157/0.2895, allocations: 3.27 MB / 1.257 GB, free: 9.137 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003644/0.2899, allocations: 0.7749 MB / 1.257 GB, free: 8.336 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 8.154e-05/0.29, allocations: 53.52 kB / 1.257 GB, free: 8.285 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.754e-05/0.29, allocations: 59.42 kB / 1.257 GB, free: 8.227 MB / 0.9825 GB Notification: Performance of SimCode: time 3e-07/0.2901, allocations: 0 / 1.257 GB, free: 8.227 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.919/3.209, allocations: 4.58 MB / 1.262 GB, free: 3.75 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.95/17.15, allocations: 9.234 kB / 1.262 GB, free: 3.746 MB / 0.9825 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMax_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMax.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_MatrixMax.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.MatrixMax.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches