Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Utilities_Math_Examples_VectorFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.VectorFunctions,fileNamePrefix="Buildings_9_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.007831/0.007831, allocations: 99.95 kB / 15.73 MB, free: 6.062 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.001657/0.001657, allocations: 189.6 kB / 16.67 MB, free: 5.973 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.408/1.408, allocations: 222.9 MB / 240.4 MB, free: 4.168 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.351/2.351, allocations: 390.2 MB / 0.6648 GB, free: 200 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001241/0.001241, allocations: 63.38 kB / 0.9504 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2509/0.2521, allocations: 140.4 MB / 1.087 GB, free: 2.016 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.VectorFunctions): time 0.003276/0.2555, allocations: 1.601 MB / 1.089 GB, free: 412 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0008533/0.2564, allocations: 0.5011 MB / 1.09 GB, free: 15.89 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.123e-05/0.2564, allocations: 3.938 kB / 1.09 GB, free: 15.89 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 9.879e-05/0.2565, allocations: 11.86 kB / 1.09 GB, free: 15.88 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 3.147e-05/0.2566, allocations: 15.88 kB / 1.09 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002222/0.2568, allocations: 39.88 kB / 1.09 GB, free: 15.82 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001139/0.2569, allocations: 87.64 kB / 1.09 GB, free: 15.74 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001573/0.2571, allocations: 48.19 kB / 1.09 GB, free: 15.69 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 8.568e-05/0.2572, allocations: 31.92 kB / 1.09 GB, free: 15.66 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 7.825e-05/0.2573, allocations: 35.84 kB / 1.09 GB, free: 15.62 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.75e-05/0.2573, allocations: 11.94 kB / 1.09 GB, free: 15.61 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 5.98e-05/0.2574, allocations: 15.98 kB / 1.09 GB, free: 15.59 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.978e-05/0.2574, allocations: 19.97 kB / 1.09 GB, free: 15.57 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.713e-05/0.2575, allocations: 39.73 kB / 1.09 GB, free: 15.54 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001739/0.2576, allocations: 91.8 kB / 1.09 GB, free: 15.45 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.2577, allocations: 7.938 kB / 1.09 GB, free: 15.44 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.242e-06/0.2577, allocations: 0 / 1.09 GB, free: 15.44 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.492e-06/0.2577, allocations: 0 / 1.09 GB, free: 15.44 MB / 0.8575 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.000603/0.2583, allocations: 403 kB / 1.09 GB, free: 15 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.439e-05/0.2583, allocations: 8.031 kB / 1.09 GB, free: 14.99 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.64e-05/0.2584, allocations: 42.73 kB / 1.09 GB, free: 14.94 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.927e-05/0.2584, allocations: 8.891 kB / 1.09 GB, free: 14.93 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001959/0.2586, allocations: 198.4 kB / 1.091 GB, free: 14.7 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.499e-05/0.2587, allocations: 8.375 kB / 1.091 GB, free: 14.69 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.562e-05/0.2587, allocations: 8.312 kB / 1.091 GB, free: 14.68 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002676/0.259, allocations: 113.7 kB / 1.091 GB, free: 14.57 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.485e-06/0.259, allocations: 0 / 1.091 GB, free: 14.57 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.256e-05/0.259, allocations: 0 / 1.091 GB, free: 14.57 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.259, allocations: 0 / 1.091 GB, free: 14.57 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002312/0.2592, allocations: 99.92 kB / 1.091 GB, free: 14.47 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005665/0.2598, allocations: 384.6 kB / 1.091 GB, free: 14.04 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001439/0.26, allocations: 54.55 kB / 1.091 GB, free: 13.98 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001168/0.2601, allocations: 48.95 kB / 1.091 GB, free: 13.93 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.846e-05/0.2601, allocations: 7.984 kB / 1.091 GB, free: 13.92 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.247e-05/0.2602, allocations: 34.56 kB / 1.091 GB, free: 13.88 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=6): time 1.153e-06/0.2602, allocations: 0 / 1.091 GB, free: 13.88 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6): time 0.0004471/0.2606, allocations: 169.5 kB / 1.091 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.174e-05/0.2607, allocations: 55.34 kB / 1.092 GB, free: 13.64 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.288e-05/0.2608, allocations: 137.5 kB / 1.092 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.511e-05/0.2608, allocations: 29.7 kB / 1.092 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.489e-05/0.2609, allocations: 112.2 kB / 1.092 GB, free: 13.35 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.729e-05/0.2609, allocations: 15.84 kB / 1.092 GB, free: 13.33 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.294e-05/0.2609, allocations: 21.72 kB / 1.092 GB, free: 13.3 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001186/0.2611, allocations: 318.8 kB / 1.092 GB, free: 12.98 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001115/0.2612, allocations: 39.97 kB / 1.092 GB, free: 12.95 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001013/0.2613, allocations: 35.97 kB / 1.092 GB, free: 12.91 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002068/0.2615, allocations: 96.73 kB / 1.092 GB, free: 12.81 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.2615, allocations: 0 / 1.092 GB, free: 12.81 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002609/0.2618, allocations: 121.6 kB / 1.092 GB, free: 12.69 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/0.2618, allocations: 9.719 kB / 1.092 GB, free: 12.68 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.2618, allocations: 0 / 1.092 GB, free: 12.68 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.425e-05/0.2618, allocations: 3.938 kB / 1.092 GB, free: 12.68 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001378/0.262, allocations: 23.97 kB / 1.092 GB, free: 12.65 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/0.262, allocations: 0 / 1.092 GB, free: 12.65 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.563e-05/0.2621, allocations: 12 kB / 1.092 GB, free: 12.64 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.238e-05/0.2621, allocations: 3.984 kB / 1.092 GB, free: 12.64 MB / 0.8575 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.214e-05/0.2622, allocations: 117.8 kB / 1.093 GB, free: 12.51 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.259e-05/0.2622, allocations: 11.89 kB / 1.093 GB, free: 12.5 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003367/0.2626, allocations: 158.7 kB / 1.093 GB, free: 12.34 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.2626, allocations: 3.938 kB / 1.093 GB, free: 12.34 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.2626, allocations: 4 kB / 1.093 GB, free: 12.33 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.2626, allocations: 0 / 1.093 GB, free: 12.33 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001952/0.2628, allocations: 205.6 kB / 1.093 GB, free: 12.08 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.2628, allocations: 0 / 1.093 GB, free: 12.08 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001031/0.2629, allocations: 15.98 kB / 1.093 GB, free: 12.07 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/0.2629, allocations: 3.984 kB / 1.093 GB, free: 12.06 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.088e-06/0.263, allocations: 7.938 kB / 1.093 GB, free: 12.05 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.263, allocations: 3.938 kB / 1.093 GB, free: 12.05 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.263, allocations: 4 kB / 1.093 GB, free: 12.05 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003201/0.2633, allocations: 223.4 kB / 1.093 GB, free: 11.81 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.001e-05/0.2633, allocations: 85.06 kB / 1.093 GB, free: 11.71 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.863e-05/0.2634, allocations: 0 / 1.093 GB, free: 11.71 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001034/0.2635, allocations: 11.92 kB / 1.093 GB, free: 11.7 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.687e-05/0.2635, allocations: 12 kB / 1.093 GB, free: 11.69 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.269e-05/0.2636, allocations: 11.92 kB / 1.093 GB, free: 11.68 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.336e-05/0.2636, allocations: 95.27 kB / 1.093 GB, free: 11.58 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2636, allocations: 0 / 1.093 GB, free: 11.58 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002409/0.2639, allocations: 16 kB / 1.093 GB, free: 11.57 MB / 0.8575 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.0006314/0.2645, allocations: 0.767 MB / 1.094 GB, free: 10.77 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.000271/0.2648, allocations: 99.92 kB / 1.094 GB, free: 10.68 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.2648, allocations: 0 / 1.094 GB, free: 10.68 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001248/0.2649, allocations: 55.91 kB / 1.094 GB, free: 10.62 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002666/0.2652, allocations: 9.656 kB / 1.094 GB, free: 10.61 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001697/0.2669, allocations: 1.593 MB / 1.096 GB, free: 8.938 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000236/0.2672, allocations: 0.7041 MB / 1.097 GB, free: 8.207 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0001213/0.2673, allocations: 20.05 kB / 1.097 GB, free: 8.188 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.168e-05/0.2673, allocations: 27.42 kB / 1.097 GB, free: 8.16 MB / 0.8575 GB Notification: Performance of SimCode: time 3.11e-07/0.2674, allocations: 0 / 1.097 GB, free: 8.16 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01624/0.2836, allocations: 2.011 MB / 1.099 GB, free: 6.234 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.368/7.652, allocations: 5.625 kB / 1.099 GB, free: 6.23 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Utilities.Math.Examples.VectorFunctions.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Examples.VectorFunctions.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Examples.VectorFunctions.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Examples.VectorFunctions.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Utilities.Math.Examples.VectorFunctions_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_9_Buildings_Utilities_Math_Examples_VectorFunctions.fmu > Buildings_9_Buildings.Utilities.Math.Examples.VectorFunctions.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Examples.VectorFunctions_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Examples_VectorFunctions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Examples.VectorFunctions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches