Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Math.Examples.VectorFunctions.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.Utilities.Math.Examples.VectorFunctions,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Examples_VectorFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.VectorFunctions,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Examples_VectorFunctions",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.003798/0.003798, allocations: 106.1 kB / 15.74 MB, free: 6.02 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.001062/0.001062, allocations: 192.4 kB / 16.68 MB, free: 5.938 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.203/1.203, allocations: 222.9 MB / 240.4 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.594/2.594, allocations: 469.8 MB / 0.7425 GB, free: 3.301 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001874/0.001874, allocations: 63.89 kB / 1.065 GB, free: 14.02 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6911/0.693, allocations: 159.1 MB / 1.22 GB, free: 1.984 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.VectorFunctions): time 0.002838/0.6959, allocations: 1.584 MB / 1.222 GB, free: 404 kB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0009034/0.6968, allocations: 0.5027 MB / 1.222 GB, free: 15.89 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.898e-05/0.6969, allocations: 3.938 kB / 1.222 GB, free: 15.88 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 9.813e-05/0.697, allocations: 11.86 kB / 1.222 GB, free: 15.87 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 3.491e-05/0.6971, allocations: 15.86 kB / 1.222 GB, free: 15.86 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002208/0.6973, allocations: 47.89 kB / 1.222 GB, free: 15.81 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001168/0.6974, allocations: 71.78 kB / 1.222 GB, free: 15.74 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001501/0.6976, allocations: 56.06 kB / 1.222 GB, free: 15.68 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 8.09e-05/0.6977, allocations: 27.92 kB / 1.222 GB, free: 15.66 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 8.78e-05/0.6978, allocations: 43.83 kB / 1.222 GB, free: 15.61 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.987e-05/0.6978, allocations: 8 kB / 1.222 GB, free: 15.61 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 5.964e-05/0.6978, allocations: 11.98 kB / 1.222 GB, free: 15.59 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 4.468e-05/0.6979, allocations: 23.92 kB / 1.223 GB, free: 15.57 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 4.848e-05/0.6979, allocations: 35.75 kB / 1.223 GB, free: 15.54 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0001616/0.6981, allocations: 91.23 kB / 1.223 GB, free: 15.45 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.6981, allocations: 0 / 1.223 GB, free: 15.45 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.232e-06/0.6981, allocations: 0 / 1.223 GB, free: 15.45 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 4.729e-06/0.6981, allocations: 4 kB / 1.223 GB, free: 15.45 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005578/0.6987, allocations: 410.9 kB / 1.223 GB, free: 15 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.782e-05/0.6987, allocations: 8.031 kB / 1.223 GB, free: 14.99 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.496e-05/0.6988, allocations: 46.67 kB / 1.223 GB, free: 14.93 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.303e-05/0.6988, allocations: 12.84 kB / 1.223 GB, free: 14.92 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001945/0.699, allocations: 196.2 kB / 1.223 GB, free: 14.69 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.887e-06/0.6991, allocations: 384 / 1.223 GB, free: 14.69 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.973e-05/0.6991, allocations: 12.36 kB / 1.223 GB, free: 14.68 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002561/0.6993, allocations: 113.7 kB / 1.223 GB, free: 14.56 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.6994, allocations: 0 / 1.223 GB, free: 14.56 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.349e-05/0.6994, allocations: 4 kB / 1.223 GB, free: 14.56 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.6994, allocations: 0 / 1.223 GB, free: 14.56 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002532/0.6996, allocations: 95.92 kB / 1.223 GB, free: 14.46 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005948/0.7002, allocations: 384.5 kB / 1.224 GB, free: 14.04 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001517/0.7004, allocations: 58.55 kB / 1.224 GB, free: 13.97 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001246/0.7005, allocations: 44.95 kB / 1.224 GB, free: 13.93 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 3.607e-05/0.7006, allocations: 4 kB / 1.224 GB, free: 13.92 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.647e-05/0.7006, allocations: 38.55 kB / 1.224 GB, free: 13.88 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=6): time 1.162e-06/0.7006, allocations: 4 kB / 1.224 GB, free: 13.87 MB / 0.9512 GB Notification: Performance of matching and sorting (n=6): time 0.0004936/0.7011, allocations: 165.5 kB / 1.224 GB, free: 13.7 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.538e-05/0.7012, allocations: 55.34 kB / 1.224 GB, free: 13.64 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001582/0.7014, allocations: 127.7 kB / 1.224 GB, free: 13.5 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.52e-05/0.7014, allocations: 29.7 kB / 1.224 GB, free: 13.47 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 8.426e-05/0.7015, allocations: 104.1 kB / 1.224 GB, free: 13.36 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 5.478e-05/0.7015, allocations: 31.91 kB / 1.224 GB, free: 13.33 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.103e-05/0.7016, allocations: 21.72 kB / 1.225 GB, free: 13.3 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0002023/0.7018, allocations: 318.8 kB / 1.225 GB, free: 12.98 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001253/0.7019, allocations: 43.91 kB / 1.225 GB, free: 12.94 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001072/0.7021, allocations: 35.97 kB / 1.225 GB, free: 12.91 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002441/0.7023, allocations: 101.1 kB / 1.225 GB, free: 12.8 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.7023, allocations: 0 / 1.225 GB, free: 12.8 MB / 0.9512 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002972/0.7026, allocations: 121.6 kB / 1.225 GB, free: 12.68 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.767e-05/0.7027, allocations: 8 kB / 1.225 GB, free: 12.67 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.7027, allocations: 0 / 1.225 GB, free: 12.67 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.502e-05/0.7027, allocations: 3.938 kB / 1.225 GB, free: 12.67 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001549/0.7029, allocations: 19.97 kB / 1.225 GB, free: 12.65 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.845e-06/0.7029, allocations: 4 kB / 1.225 GB, free: 12.64 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.004e-05/0.703, allocations: 8 kB / 1.225 GB, free: 12.64 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.877e-05/0.703, allocations: 3.984 kB / 1.225 GB, free: 12.63 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (6): * Single equations (assignments): 6 * 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.0001217/0.7031, allocations: 120.9 kB / 1.225 GB, free: 12.51 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.323e-05/0.7032, allocations: 11.89 kB / 1.225 GB, free: 12.5 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003986/0.7036, allocations: 138.3 kB / 1.225 GB, free: 12.34 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.873e-06/0.7036, allocations: 7.938 kB / 1.225 GB, free: 12.34 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.534e-06/0.7036, allocations: 4 kB / 1.225 GB, free: 12.33 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.7036, allocations: 3.984 kB / 1.225 GB, free: 12.33 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002525/0.7039, allocations: 209.5 kB / 1.226 GB, free: 12.07 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.7039, allocations: 0 / 1.226 GB, free: 12.07 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001029/0.704, allocations: 15.98 kB / 1.226 GB, free: 12.06 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.464e-06/0.704, allocations: 0 / 1.226 GB, free: 12.06 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.468e-05/0.704, allocations: 7.984 kB / 1.226 GB, free: 12.05 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.704, allocations: 7.938 kB / 1.226 GB, free: 12.04 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.704, allocations: 3.984 kB / 1.226 GB, free: 12.04 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003648/0.7044, allocations: 227.5 kB / 1.226 GB, free: 11.8 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 6.511e-05/0.7045, allocations: 85.06 kB / 1.226 GB, free: 11.7 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.304e-05/0.7045, allocations: 4 kB / 1.226 GB, free: 11.7 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001012/0.7046, allocations: 7.938 kB / 1.226 GB, free: 11.69 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.373e-05/0.7047, allocations: 7.984 kB / 1.226 GB, free: 11.68 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.208e-05/0.7047, allocations: 4 kB / 1.226 GB, free: 11.68 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 8.913e-05/0.7048, allocations: 113.2 kB / 1.226 GB, free: 11.57 MB / 0.9512 GB Notification: Performance of sort global known variables: time 3.51e-07/0.7048, allocations: 0 / 1.226 GB, free: 11.57 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002534/0.7051, allocations: 12 kB / 1.226 GB, free: 11.55 MB / 0.9512 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 (6): * Single equations (assignments): 6 * 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.0007128/0.7058, allocations: 0.7665 MB / 1.227 GB, free: 10.77 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0003044/0.7061, allocations: 103.9 kB / 1.227 GB, free: 10.66 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.7061, allocations: 0 / 1.227 GB, free: 10.66 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001277/0.7063, allocations: 55.89 kB / 1.227 GB, free: 10.61 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002279/0.7065, allocations: 7.938 kB / 1.227 GB, free: 10.6 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00194/0.7084, allocations: 1.605 MB / 1.229 GB, free: 8.918 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003146/0.7088, allocations: 0.7041 MB / 1.229 GB, free: 8.188 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0001274/0.7089, allocations: 11.98 kB / 1.229 GB, free: 8.176 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.002e-05/0.709, allocations: 31.42 kB / 1.229 GB, free: 8.148 MB / 0.9512 GB Notification: Performance of SimCode: time 2.41e-07/0.709, allocations: 4 kB / 1.229 GB, free: 8.145 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8304/1.539, allocations: 2.005 MB / 1.231 GB, free: 6.223 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.24/13.78, allocations: 10.56 kB / 1.231 GB, free: 6.215 MB / 0.9512 GB (rm -f Buildings_11_Buildings.Utilities.Math.Examples.VectorFunctions.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.VectorFunctions.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.VectorFunctions.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.VectorFunctions.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Math.Examples.VectorFunctions_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Math_Examples_VectorFunctions_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Math_Examples_VectorFunctions.fmu > Buildings_11_Buildings.Utilities.Math.Examples.VectorFunctions.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.VectorFunctions_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_VectorFunctions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Math.Examples.VectorFunctions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches