Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.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.Utilities.Math.Examples.VectorFunctions,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_VectorFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.VectorFunctions,fileNamePrefix="Buildings_latest_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.007859/0.007859, allocations: 103.4 kB / 15.73 MB, free: 5.992 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.0019/0.0019, allocations: 197.1 kB / 16.67 MB, free: 5.914 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.414/1.414, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.651/2.651, allocations: 461.9 MB / 0.7348 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001473/0.001473, allocations: 64.12 kB / 1.054 GB, free: 8.211 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9654/0.9668, allocations: 157.4 MB / 1.207 GB, free: 13.6 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.VectorFunctions): time 0.003041/0.9699, allocations: 1.599 MB / 1.209 GB, free: 12 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001072/0.971, allocations: 0.5065 MB / 1.209 GB, free: 11.48 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001145/0.9712, allocations: 0 / 1.209 GB, free: 11.48 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001689/0.9714, allocations: 15.86 kB / 1.209 GB, free: 11.47 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 8.412e-05/0.9715, allocations: 7.875 kB / 1.209 GB, free: 11.46 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004295/0.972, allocations: 43.88 kB / 1.209 GB, free: 11.42 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0002299/0.9722, allocations: 83.7 kB / 1.209 GB, free: 11.34 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002554/0.9725, allocations: 40.22 kB / 1.21 GB, free: 11.3 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001734/0.9727, allocations: 35.91 kB / 1.21 GB, free: 11.26 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001473/0.9728, allocations: 43.83 kB / 1.21 GB, free: 11.22 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.284e-05/0.9729, allocations: 4 kB / 1.21 GB, free: 11.21 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001073/0.973, allocations: 15.94 kB / 1.21 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 6.755e-05/0.9731, allocations: 19.98 kB / 1.21 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 7.208e-05/0.9731, allocations: 43.72 kB / 1.21 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002339/0.9734, allocations: 93.89 kB / 1.21 GB, free: 11.05 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 9.598e-06/0.9734, allocations: 0 / 1.21 GB, free: 11.05 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.856e-06/0.9734, allocations: 7.938 kB / 1.21 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 7.545e-06/0.9734, allocations: 0 / 1.21 GB, free: 11.04 MB / 0.9356 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.0007666/0.9742, allocations: 399.1 kB / 1.21 GB, free: 10.6 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 6.625e-05/0.9743, allocations: 8.031 kB / 1.21 GB, free: 10.59 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.551e-05/0.9743, allocations: 38.75 kB / 1.21 GB, free: 10.55 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.277e-05/0.9744, allocations: 12.75 kB / 1.21 GB, free: 10.54 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002693/0.9747, allocations: 192.2 kB / 1.21 GB, free: 10.31 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.126e-05/0.9747, allocations: 384 / 1.21 GB, free: 10.31 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.367e-05/0.9747, allocations: 16.31 kB / 1.21 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003522/0.9751, allocations: 105.8 kB / 1.21 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/0.9751, allocations: 0 / 1.21 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.464e-05/0.9751, allocations: 4 kB / 1.21 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.455e-06/0.9752, allocations: 4 kB / 1.211 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002439/0.9754, allocations: 95.88 kB / 1.211 GB, free: 10.08 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007154/0.9761, allocations: 380.5 kB / 1.211 GB, free: 9.66 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001562/0.9763, allocations: 62.53 kB / 1.211 GB, free: 9.59 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001126/0.9764, allocations: 48.95 kB / 1.211 GB, free: 9.539 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 4.902e-05/0.9765, allocations: 4 kB / 1.211 GB, free: 9.535 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.25e-05/0.9765, allocations: 34.5 kB / 1.211 GB, free: 9.492 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=6): time 1.844e-06/0.9765, allocations: 0 / 1.211 GB, free: 9.492 MB / 0.9356 GB Notification: Performance of matching and sorting (n=6): time 0.0004807/0.977, allocations: 165.5 kB / 1.211 GB, free: 9.324 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.1e-05/0.9771, allocations: 59.33 kB / 1.211 GB, free: 9.254 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001246/0.9772, allocations: 136.2 kB / 1.211 GB, free: 9.113 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.934e-05/0.9772, allocations: 29.64 kB / 1.211 GB, free: 9.078 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 6.929e-05/0.9773, allocations: 108.1 kB / 1.212 GB, free: 8.969 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.19e-05/0.9773, allocations: 19.73 kB / 1.212 GB, free: 8.949 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.688e-05/0.9774, allocations: 17.72 kB / 1.212 GB, free: 8.926 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001938/0.9776, allocations: 322.8 kB / 1.212 GB, free: 8.602 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001127/0.9777, allocations: 39.97 kB / 1.212 GB, free: 8.562 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.879e-05/0.9778, allocations: 39.97 kB / 1.212 GB, free: 8.523 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002093/0.978, allocations: 93.11 kB / 1.212 GB, free: 8.43 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.978, allocations: 0 / 1.212 GB, free: 8.43 MB / 0.9356 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.00028/0.9783, allocations: 133.5 kB / 1.212 GB, free: 8.293 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.751e-05/0.9783, allocations: 4 kB / 1.212 GB, free: 8.289 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.9784, allocations: 0 / 1.212 GB, free: 8.289 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.143e-05/0.9784, allocations: 3.938 kB / 1.212 GB, free: 8.285 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000145/0.9785, allocations: 19.98 kB / 1.212 GB, free: 8.266 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.607e-06/0.9785, allocations: 4 kB / 1.212 GB, free: 8.262 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.776e-05/0.9786, allocations: 11.89 kB / 1.212 GB, free: 8.25 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.621e-05/0.9787, allocations: 4 kB / 1.212 GB, free: 8.246 MB / 0.9356 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.0001127/0.9788, allocations: 121.8 kB / 1.212 GB, free: 8.117 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.651e-05/0.9788, allocations: 7.906 kB / 1.212 GB, free: 8.109 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003487/0.9792, allocations: 142.3 kB / 1.213 GB, free: 7.957 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.512e-06/0.9792, allocations: 7.938 kB / 1.213 GB, free: 7.949 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.9792, allocations: 0 / 1.213 GB, free: 7.949 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.9792, allocations: 3.984 kB / 1.213 GB, free: 7.945 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002258/0.9795, allocations: 197.6 kB / 1.213 GB, free: 7.703 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.9795, allocations: 4 kB / 1.213 GB, free: 7.699 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000105/0.9796, allocations: 19.97 kB / 1.213 GB, free: 7.68 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.517e-06/0.9796, allocations: 0 / 1.213 GB, free: 7.68 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.292e-05/0.9796, allocations: 4 kB / 1.213 GB, free: 7.676 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.581e-06/0.9796, allocations: 7.875 kB / 1.213 GB, free: 7.668 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.9796, allocations: 0 / 1.213 GB, free: 7.668 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003237/0.98, allocations: 223.4 kB / 1.213 GB, free: 7.434 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.741e-05/0.98, allocations: 85.02 kB / 1.213 GB, free: 7.332 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.128e-05/0.98, allocations: 192 / 1.213 GB, free: 7.332 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001024/0.9801, allocations: 15.92 kB / 1.213 GB, free: 7.316 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.405e-05/0.9802, allocations: 8 kB / 1.213 GB, free: 7.309 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.676e-05/0.9802, allocations: 7.984 kB / 1.213 GB, free: 7.301 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 6.847e-05/0.9803, allocations: 104.8 kB / 1.213 GB, free: 7.199 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9803, allocations: 0 / 1.213 GB, free: 7.199 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.000247/0.9806, allocations: 15.94 kB / 1.213 GB, free: 7.184 MB / 0.9356 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.0006295/0.9812, allocations: 0.7631 MB / 1.214 GB, free: 6.395 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.000283/0.9815, allocations: 107.9 kB / 1.214 GB, free: 6.289 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.9815, allocations: 3.938 kB / 1.214 GB, free: 6.285 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001186/0.9816, allocations: 51.91 kB / 1.214 GB, free: 6.234 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002458/0.9819, allocations: 11.89 kB / 1.214 GB, free: 6.223 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002036/0.9839, allocations: 1.605 MB / 1.216 GB, free: 4.535 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003061/0.9843, allocations: 0.7002 MB / 1.216 GB, free: 3.809 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0001104/0.9844, allocations: 15.97 kB / 1.216 GB, free: 3.793 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.957e-05/0.9844, allocations: 27.42 kB / 1.216 GB, free: 3.766 MB / 0.9356 GB Notification: Performance of SimCode: time 2.204e-06/0.9844, allocations: 0 / 1.216 GB, free: 3.766 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02157/1.006, allocations: 2.036 MB / 1.218 GB, free: 1.824 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.776/8.782, allocations: 8.297 kB / 1.218 GB, free: 1.82 MB / 0.9356 GB (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.VectorFunctions.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.VectorFunctions.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.VectorFunctions.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.VectorFunctions.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Examples.VectorFunctions_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Examples_VectorFunctions_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Examples_VectorFunctions.fmu > Buildings_latest_Buildings.Utilities.Math.Examples.VectorFunctions.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.VectorFunctions_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_VectorFunctions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.VectorFunctions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches