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.001818/0.001818, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002035/0.002036, allocations: 194.8 kB / 16.53 MB, free: 6.391 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.445/1.445, allocations: 222.9 MB / 240.2 MB, free: 4.246 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.578/2.578, allocations: 469.8 MB / 0.7424 GB, free: 7.391 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001767/0.001767, allocations: 64.97 kB / 0.9086 GB, free: 34.3 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2465/0.2483, allocations: 159.2 MB / 1.064 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.VectorFunctions): time 0.002484/0.2508, allocations: 1.612 MB / 1.066 GB, free: 12.59 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0007466/0.2516, allocations: 0.5066 MB / 1.066 GB, free: 12.07 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.571e-05/0.2517, allocations: 4 kB / 1.066 GB, free: 12.07 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 6.415e-05/0.2517, allocations: 11.88 kB / 1.066 GB, free: 12.06 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 3.308e-05/0.2518, allocations: 15.81 kB / 1.066 GB, free: 12.04 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001525/0.2519, allocations: 35.94 kB / 1.066 GB, free: 12.01 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 9.224e-05/0.252, allocations: 79.7 kB / 1.066 GB, free: 11.93 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000103/0.2521, allocations: 40.22 kB / 1.066 GB, free: 11.89 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 7.193e-05/0.2522, allocations: 35.84 kB / 1.066 GB, free: 11.86 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.524e-05/0.2523, allocations: 39.84 kB / 1.066 GB, free: 11.82 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.485e-05/0.2523, allocations: 8 kB / 1.066 GB, free: 11.81 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 4.707e-05/0.2524, allocations: 15.98 kB / 1.066 GB, free: 11.79 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.65e-05/0.2524, allocations: 23.92 kB / 1.066 GB, free: 11.77 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.23e-05/0.2525, allocations: 35.75 kB / 1.066 GB, free: 11.73 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001253/0.2526, allocations: 95.91 kB / 1.067 GB, free: 11.64 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 2.064e-06/0.2526, allocations: 0 / 1.067 GB, free: 11.64 MB / 0.8262 GB Notification: Performance of FrontEnd: time 7.22e-07/0.2526, allocations: 0 / 1.067 GB, free: 11.64 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.376e-06/0.2526, allocations: 0 / 1.067 GB, free: 11.64 MB / 0.8262 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.0004595/0.2531, allocations: 399.1 kB / 1.067 GB, free: 11.2 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 2.775e-05/0.2531, allocations: 8.031 kB / 1.067 GB, free: 11.2 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.652e-05/0.2531, allocations: 46.73 kB / 1.067 GB, free: 11.14 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.87e-05/0.2532, allocations: 12.75 kB / 1.067 GB, free: 11.13 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001578/0.2533, allocations: 192.1 kB / 1.067 GB, free: 10.9 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.162e-05/0.2534, allocations: 8.375 kB / 1.067 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.461e-05/0.2534, allocations: 8.359 kB / 1.067 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000219/0.2536, allocations: 105.8 kB / 1.067 GB, free: 10.78 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.991e-06/0.2536, allocations: 4 kB / 1.067 GB, free: 10.77 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.306e-06/0.2536, allocations: 0 / 1.067 GB, free: 10.77 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.226e-06/0.2536, allocations: 0 / 1.067 GB, free: 10.77 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002248/0.2539, allocations: 103.9 kB / 1.067 GB, free: 10.67 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005286/0.2544, allocations: 380.4 kB / 1.068 GB, free: 10.25 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001375/0.2546, allocations: 62.55 kB / 1.068 GB, free: 10.18 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001083/0.2547, allocations: 44.95 kB / 1.068 GB, free: 10.13 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.298e-05/0.2547, allocations: 11.98 kB / 1.068 GB, free: 10.12 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.481e-05/0.2547, allocations: 38.48 kB / 1.068 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=6): time 1.082e-06/0.2548, allocations: 0 / 1.068 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of matching and sorting (n=6): time 0.0004263/0.2552, allocations: 161.6 kB / 1.068 GB, free: 9.91 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.347e-05/0.2552, allocations: 55.34 kB / 1.068 GB, free: 9.844 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001016/0.2553, allocations: 135.3 kB / 1.068 GB, free: 9.703 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.972e-05/0.2554, allocations: 29.7 kB / 1.068 GB, free: 9.668 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.789e-05/0.2554, allocations: 100 kB / 1.068 GB, free: 9.566 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.495e-05/0.2554, allocations: 19.88 kB / 1.068 GB, free: 9.547 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.399e-05/0.2555, allocations: 25.72 kB / 1.068 GB, free: 9.516 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001245/0.2556, allocations: 318.8 kB / 1.069 GB, free: 9.195 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001051/0.2557, allocations: 39.97 kB / 1.069 GB, free: 9.156 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.806e-05/0.2558, allocations: 40.28 kB / 1.069 GB, free: 9.117 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002117/0.2561, allocations: 92.8 kB / 1.069 GB, free: 9.023 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.2561, allocations: 0 / 1.069 GB, free: 9.023 MB / 0.8262 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002555/0.2563, allocations: 125.5 kB / 1.069 GB, free: 8.895 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.036e-05/0.2564, allocations: 9.562 kB / 1.069 GB, free: 8.887 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.266e-06/0.2564, allocations: 0 / 1.069 GB, free: 8.887 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.568e-06/0.2564, allocations: 3.938 kB / 1.069 GB, free: 8.883 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001191/0.2565, allocations: 19.97 kB / 1.069 GB, free: 8.863 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.496e-06/0.2565, allocations: 0 / 1.069 GB, free: 8.863 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.842e-05/0.2566, allocations: 11.91 kB / 1.069 GB, free: 8.852 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.583e-05/0.2566, allocations: 11.92 kB / 1.069 GB, free: 8.84 MB / 0.8262 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 8.445e-05/0.2567, allocations: 121.8 kB / 1.069 GB, free: 8.711 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.851e-05/0.2567, allocations: 7.938 kB / 1.069 GB, free: 8.703 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000317/0.257, allocations: 138.2 kB / 1.069 GB, free: 8.562 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/0.2571, allocations: 3.938 kB / 1.069 GB, free: 8.559 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.626e-06/0.2571, allocations: 4 kB / 1.069 GB, free: 8.555 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.52e-06/0.2571, allocations: 11.97 kB / 1.069 GB, free: 8.543 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002076/0.2573, allocations: 205.6 kB / 1.07 GB, free: 8.293 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.2573, allocations: 0 / 1.07 GB, free: 8.293 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.814e-05/0.2574, allocations: 19.92 kB / 1.07 GB, free: 8.273 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.2574, allocations: 0 / 1.07 GB, free: 8.273 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.616e-06/0.2574, allocations: 3.984 kB / 1.07 GB, free: 8.27 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.224e-06/0.2574, allocations: 12.06 kB / 1.07 GB, free: 8.258 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.093e-06/0.2575, allocations: 0 / 1.07 GB, free: 8.258 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003046/0.2578, allocations: 223.4 kB / 1.07 GB, free: 8.023 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.611e-05/0.2578, allocations: 85.02 kB / 1.07 GB, free: 7.922 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.508e-05/0.2578, allocations: 0 / 1.07 GB, free: 7.922 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.372e-05/0.2579, allocations: 11.88 kB / 1.07 GB, free: 7.91 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.98e-05/0.258, allocations: 7.984 kB / 1.07 GB, free: 7.902 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.468e-06/0.258, allocations: 4 kB / 1.07 GB, free: 7.898 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.235e-05/0.2581, allocations: 105 kB / 1.07 GB, free: 7.797 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.21e-07/0.2581, allocations: 4 kB / 1.07 GB, free: 7.793 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002182/0.2583, allocations: 16 kB / 1.07 GB, free: 7.777 MB / 0.8262 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.0005951/0.2589, allocations: 0.7592 MB / 1.071 GB, free: 6.992 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002602/0.2592, allocations: 107.9 kB / 1.071 GB, free: 6.887 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.372e-06/0.2592, allocations: 0 / 1.071 GB, free: 6.887 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001175/0.2593, allocations: 55.95 kB / 1.071 GB, free: 6.832 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001874/0.2595, allocations: 7.938 kB / 1.071 GB, free: 6.824 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001672/0.2612, allocations: 1.593 MB / 1.072 GB, free: 5.156 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002873/0.2615, allocations: 0.7041 MB / 1.073 GB, free: 4.426 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 8.467e-05/0.2616, allocations: 19.97 kB / 1.073 GB, free: 4.406 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.447e-05/0.2616, allocations: 27.42 kB / 1.073 GB, free: 4.379 MB / 0.8262 GB Notification: Performance of SimCode: time 1.934e-06/0.2616, allocations: 0 / 1.073 GB, free: 4.379 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.154/3.416, allocations: 1.967 MB / 1.075 GB, free: 2.473 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.83/16.24, allocations: 19.61 kB / 1.075 GB, free: 2.457 MB / 0.8262 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