Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_Buildings_Utilities_Math_Examples_VectorFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.VectorFunctions,fileNamePrefix="Buildings_10_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.000876/0.000876, allocations: 92 kB / 15.36 MB, free: 0.7383 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.005104/0.005104, allocations: 170.6 kB / 16.26 MB, free: 6.617 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.177/1.177, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.255/2.255, allocations: 437.8 MB / 0.7121 GB, free: 6.957 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003444/0.0003443, allocations: 8 kB / 0.8729 GB, free: 3.199 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5561/0.5565, allocations: 153.8 MB / 1.023 GB, free: 15.83 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.VectorFunctions): time 0.00201/0.5585, allocations: 1.316 MB / 1.024 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001082/0.5596, allocations: 0.4958 MB / 1.025 GB, free: 14 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.251e-05/0.5597, allocations: 8 kB / 1.025 GB, free: 14 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001225/0.5599, allocations: 7.922 kB / 1.025 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 5.323e-05/0.5599, allocations: 11.81 kB / 1.025 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.000281/0.5602, allocations: 31.95 kB / 1.025 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001594/0.5604, allocations: 79.72 kB / 1.025 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001787/0.5606, allocations: 36.22 kB / 1.025 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001094/0.5607, allocations: 27.84 kB / 1.025 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 9.098e-05/0.5608, allocations: 35.84 kB / 1.025 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.476e-05/0.5608, allocations: 0 / 1.025 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 7.701e-05/0.5609, allocations: 12 kB / 1.025 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 5.383e-05/0.561, allocations: 15.92 kB / 1.025 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 7.032e-05/0.5611, allocations: 61.42 kB / 1.025 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001831/0.5613, allocations: 85.94 kB / 1.025 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.612e-06/0.5613, allocations: 0 / 1.025 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.635e-06/0.5613, allocations: 0 / 1.025 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.494e-06/0.5613, allocations: 0 / 1.025 GB, free: 13.59 MB / 0.7794 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.0005712/0.5619, allocations: 387.2 kB / 1.026 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.541e-05/0.5619, allocations: 12.03 kB / 1.026 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.812e-05/0.562, allocations: 38.73 kB / 1.026 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.452e-05/0.562, allocations: 12.75 kB / 1.026 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002008/0.5622, allocations: 196.1 kB / 1.026 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.286e-05/0.5622, allocations: 8.375 kB / 1.026 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.838e-05/0.5623, allocations: 4.375 kB / 1.026 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000315/0.5626, allocations: 124.3 kB / 1.026 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.365e-06/0.5626, allocations: 4 kB / 1.026 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.417e-05/0.5626, allocations: 0 / 1.026 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-06/0.5626, allocations: 0 / 1.026 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002613/0.5629, allocations: 111.9 kB / 1.026 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006642/0.5636, allocations: 384.6 kB / 1.027 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001689/0.5638, allocations: 70.55 kB / 1.027 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001263/0.5639, allocations: 48.95 kB / 1.027 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 6.094e-05/0.564, allocations: 8 kB / 1.027 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.513e-05/0.564, allocations: 38.5 kB / 1.027 GB, free: 12 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=6): time 1.203e-06/0.564, allocations: 0 / 1.027 GB, free: 12 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6): time 0.0005207/0.5645, allocations: 185.5 kB / 1.027 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.893e-05/0.5646, allocations: 55.34 kB / 1.027 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001103/0.5647, allocations: 138.7 kB / 1.027 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.652e-05/0.5647, allocations: 25.7 kB / 1.027 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.853e-05/0.5648, allocations: 104.1 kB / 1.027 GB, free: 11.47 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.174e-05/0.5648, allocations: 19.75 kB / 1.027 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.239e-05/0.5649, allocations: 13.7 kB / 1.027 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000128/0.565, allocations: 322.8 kB / 1.028 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001167/0.5651, allocations: 43.97 kB / 1.028 GB, free: 11.06 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001129/0.5652, allocations: 52.09 kB / 1.028 GB, free: 11.01 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002427/0.5655, allocations: 108.9 kB / 1.028 GB, free: 10.9 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.5655, allocations: 4 kB / 1.028 GB, free: 10.9 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003043/0.5658, allocations: 137.5 kB / 1.028 GB, free: 10.76 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.99e-05/0.5659, allocations: 8 kB / 1.028 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.61e-06/0.5659, allocations: 0 / 1.028 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.566e-05/0.5659, allocations: 3.938 kB / 1.028 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001488/0.566, allocations: 19.98 kB / 1.028 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.574e-06/0.5661, allocations: 0 / 1.028 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.384e-05/0.5661, allocations: 15.98 kB / 1.028 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.92e-05/0.5662, allocations: 7.938 kB / 1.028 GB, free: 10.7 MB / 0.7794 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.0001206/0.5663, allocations: 114.4 kB / 1.028 GB, free: 10.58 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.298e-05/0.5664, allocations: 15.83 kB / 1.028 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003768/0.5667, allocations: 158.2 kB / 1.028 GB, free: 10.4 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.63e-06/0.5667, allocations: 7.938 kB / 1.028 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.5668, allocations: 0 / 1.028 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.5668, allocations: 0 / 1.028 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000213/0.567, allocations: 197.6 kB / 1.028 GB, free: 10.15 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.567, allocations: 0 / 1.028 GB, free: 10.15 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000107/0.5671, allocations: 27.91 kB / 1.028 GB, free: 10.12 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.5671, allocations: 4 kB / 1.028 GB, free: 10.12 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.896e-06/0.5671, allocations: 0 / 1.028 GB, free: 10.12 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/0.5671, allocations: 3.938 kB / 1.028 GB, free: 10.12 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.5671, allocations: 0 / 1.028 GB, free: 10.12 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003745/0.5675, allocations: 243.5 kB / 1.029 GB, free: 9.863 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.258e-05/0.5676, allocations: 81.02 kB / 1.029 GB, free: 9.766 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.728e-05/0.5676, allocations: 0 / 1.029 GB, free: 9.766 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001028/0.5677, allocations: 19.92 kB / 1.029 GB, free: 9.746 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.281e-05/0.5678, allocations: 7.984 kB / 1.029 GB, free: 9.738 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.094e-05/0.5678, allocations: 4 kB / 1.029 GB, free: 9.734 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.111e-05/0.5679, allocations: 100.5 kB / 1.029 GB, free: 9.637 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5679, allocations: 4 kB / 1.029 GB, free: 9.633 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002401/0.5681, allocations: 19.94 kB / 1.029 GB, free: 9.613 MB / 0.7794 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.0007148/0.5688, allocations: 0.7748 MB / 1.03 GB, free: 8.812 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000289/0.5691, allocations: 111.9 kB / 1.03 GB, free: 8.703 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 5.01e-06/0.5691, allocations: 4 kB / 1.03 GB, free: 8.699 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.000127/0.5693, allocations: 59.91 kB / 1.03 GB, free: 8.641 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002277/0.5695, allocations: 10.28 kB / 1.03 GB, free: 8.633 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00191/0.5714, allocations: 1.665 MB / 1.031 GB, free: 6.887 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002969/0.5718, allocations: 0.7043 MB / 1.032 GB, free: 6.156 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001107/0.5719, allocations: 19.97 kB / 1.032 GB, free: 6.137 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.326e-05/0.5719, allocations: 27.42 kB / 1.032 GB, free: 6.113 MB / 0.7794 GB Notification: Performance of SimCode: time 4.81e-07/0.5719, allocations: 0 / 1.032 GB, free: 6.113 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3467/0.9187, allocations: 1.691 MB / 1.034 GB, free: 4.539 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000249/0.919, allocations: 197.3 kB / 1.034 GB, free: 4.285 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.857/2.776, allocations: 0 / 1.034 GB, free: 4.285 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Utilities.Math.Examples.VectorFunctions.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Examples.VectorFunctions.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Examples.VectorFunctions.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Examples.VectorFunctions.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Math.Examples.VectorFunctions_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Math_Examples_VectorFunctions_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Utilities_Math_Examples_VectorFunctions.fmu > Buildings_10_Buildings.Utilities.Math.Examples.VectorFunctions.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Examples.VectorFunctions_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Examples_VectorFunctions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Examples.VectorFunctions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches