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.007242/0.007242, allocations: 108.3 kB / 15.74 MB, free: 6.449 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.001919/0.001919, allocations: 196 kB / 16.67 MB, free: 6.355 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.38/1.38, allocations: 222.9 MB / 240.4 MB, free: 4.34 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.319/2.319, allocations: 390.3 MB / 0.6648 GB, free: 212 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001171/0.001171, allocations: 64.44 kB / 0.9504 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2558/0.257, allocations: 140.4 MB / 1.087 GB, free: 1.984 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.VectorFunctions): time 0.00303/0.26, allocations: 1.595 MB / 1.089 GB, free: 384 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.00105/0.2611, allocations: 0.5011 MB / 1.09 GB, free: 15.87 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.114e-05/0.2612, allocations: 7.938 kB / 1.09 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001294/0.2614, allocations: 11.86 kB / 1.09 GB, free: 15.85 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 3.933e-05/0.2614, allocations: 15.86 kB / 1.09 GB, free: 15.83 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.000288/0.2617, allocations: 39.89 kB / 1.09 GB, free: 15.79 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001397/0.2619, allocations: 83.66 kB / 1.09 GB, free: 15.71 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002042/0.2621, allocations: 52.17 kB / 1.09 GB, free: 15.66 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 9.551e-05/0.2622, allocations: 27.92 kB / 1.09 GB, free: 15.63 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 9.515e-05/0.2623, allocations: 39.83 kB / 1.09 GB, free: 15.59 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.296e-05/0.2623, allocations: 8 kB / 1.09 GB, free: 15.58 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 7.042e-05/0.2624, allocations: 19.92 kB / 1.09 GB, free: 15.56 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.679e-05/0.2625, allocations: 20 kB / 1.09 GB, free: 15.54 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.523e-05/0.2625, allocations: 39.73 kB / 1.09 GB, free: 15.5 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001811/0.2627, allocations: 90.45 kB / 1.09 GB, free: 15.42 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/0.2627, allocations: 0 / 1.09 GB, free: 15.42 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.214e-06/0.2627, allocations: 3.938 kB / 1.09 GB, free: 15.41 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.067e-06/0.2627, allocations: 0 / 1.09 GB, free: 15.41 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.0005543/0.2633, allocations: 404 kB / 1.09 GB, free: 14.97 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.004e-05/0.2633, allocations: 8.031 kB / 1.09 GB, free: 14.96 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.206e-05/0.2634, allocations: 46.73 kB / 1.09 GB, free: 14.91 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.393e-05/0.2634, allocations: 12.75 kB / 1.09 GB, free: 14.9 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002342/0.2637, allocations: 192.2 kB / 1.091 GB, free: 14.67 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.184e-05/0.2637, allocations: 384 / 1.091 GB, free: 14.67 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.972e-05/0.2637, allocations: 8.375 kB / 1.091 GB, free: 14.66 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002394/0.264, allocations: 116.8 kB / 1.091 GB, free: 14.55 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.758e-06/0.264, allocations: 0 / 1.091 GB, free: 14.55 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.171e-05/0.264, allocations: 0 / 1.091 GB, free: 14.55 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.264, allocations: 0 / 1.091 GB, free: 14.55 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002344/0.2643, allocations: 103.9 kB / 1.091 GB, free: 14.45 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005779/0.2648, allocations: 376.5 kB / 1.091 GB, free: 14.03 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001363/0.265, allocations: 54.55 kB / 1.091 GB, free: 13.96 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001106/0.2651, allocations: 52.95 kB / 1.091 GB, free: 13.91 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.414e-05/0.2651, allocations: 7.938 kB / 1.091 GB, free: 13.9 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.42e-05/0.2652, allocations: 34.55 kB / 1.091 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=6): time 1.092e-06/0.2652, allocations: 0 / 1.091 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6): time 0.0004598/0.2656, allocations: 165.5 kB / 1.091 GB, free: 13.69 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.341e-05/0.2657, allocations: 59.34 kB / 1.092 GB, free: 13.62 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001147/0.2658, allocations: 139.2 kB / 1.092 GB, free: 13.48 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.73e-05/0.2658, allocations: 29.64 kB / 1.092 GB, free: 13.44 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 7.227e-05/0.2659, allocations: 112.1 kB / 1.092 GB, free: 13.33 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.866e-05/0.2659, allocations: 15.8 kB / 1.092 GB, free: 13.31 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.121e-05/0.266, allocations: 21.7 kB / 1.092 GB, free: 13.29 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001154/0.2661, allocations: 318.8 kB / 1.092 GB, free: 12.96 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001134/0.2662, allocations: 43.97 kB / 1.092 GB, free: 12.92 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.853e-05/0.2663, allocations: 35.97 kB / 1.092 GB, free: 12.89 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002191/0.2666, allocations: 97.11 kB / 1.092 GB, free: 12.79 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.2666, allocations: 0 / 1.092 GB, free: 12.79 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002657/0.2668, allocations: 121.5 kB / 1.092 GB, free: 12.66 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/0.2669, allocations: 12 kB / 1.092 GB, free: 12.65 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.2669, allocations: 0 / 1.092 GB, free: 12.65 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.416e-05/0.2669, allocations: 3.938 kB / 1.092 GB, free: 12.65 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001502/0.2671, allocations: 23.97 kB / 1.092 GB, free: 12.62 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.2671, allocations: 0 / 1.092 GB, free: 12.62 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.896e-05/0.2671, allocations: 8 kB / 1.092 GB, free: 12.62 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.317e-05/0.2672, allocations: 3.984 kB / 1.092 GB, free: 12.61 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 9.85e-05/0.2673, allocations: 117.8 kB / 1.093 GB, free: 12.49 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.987e-05/0.2673, allocations: 15.84 kB / 1.093 GB, free: 12.47 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003611/0.2677, allocations: 146.2 kB / 1.093 GB, free: 12.32 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.518e-06/0.2677, allocations: 3.938 kB / 1.093 GB, free: 12.32 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.2677, allocations: 0 / 1.093 GB, free: 12.32 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.2677, allocations: 7.984 kB / 1.093 GB, free: 12.31 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002112/0.2679, allocations: 197.6 kB / 1.093 GB, free: 12.07 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.2679, allocations: 3.984 kB / 1.093 GB, free: 12.07 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001099/0.2681, allocations: 15.98 kB / 1.093 GB, free: 12.05 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.2681, allocations: 4 kB / 1.093 GB, free: 12.05 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.239e-05/0.2681, allocations: 3.984 kB / 1.093 GB, free: 12.04 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.05e-06/0.2681, allocations: 7.938 kB / 1.093 GB, free: 12.04 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.2681, allocations: 0 / 1.093 GB, free: 12.04 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003405/0.2685, allocations: 223.5 kB / 1.093 GB, free: 11.8 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.839e-05/0.2685, allocations: 89 kB / 1.093 GB, free: 11.7 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.711e-05/0.2685, allocations: 4 kB / 1.093 GB, free: 11.69 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.663e-05/0.2686, allocations: 7.938 kB / 1.093 GB, free: 11.68 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.975e-05/0.2687, allocations: 11.98 kB / 1.093 GB, free: 11.67 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.073e-05/0.2687, allocations: 0 / 1.093 GB, free: 11.67 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 6.071e-05/0.2688, allocations: 117 kB / 1.093 GB, free: 11.56 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2688, allocations: 0 / 1.093 GB, free: 11.56 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002306/0.269, allocations: 12 kB / 1.093 GB, free: 11.55 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.0006472/0.2697, allocations: 0.7631 MB / 1.094 GB, free: 10.76 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002894/0.27, allocations: 99.94 kB / 1.094 GB, free: 10.66 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.27, allocations: 0 / 1.094 GB, free: 10.66 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001238/0.2701, allocations: 59.89 kB / 1.094 GB, free: 10.6 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002192/0.2704, allocations: 9.969 kB / 1.094 GB, free: 10.59 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001783/0.2722, allocations: 1.596 MB / 1.096 GB, free: 8.914 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003328/0.2725, allocations: 0.7002 MB / 1.097 GB, free: 8.188 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0001335/0.2726, allocations: 15.98 kB / 1.097 GB, free: 8.172 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.285e-05/0.2727, allocations: 23.42 kB / 1.097 GB, free: 8.148 MB / 0.8575 GB Notification: Performance of SimCode: time 2.6e-07/0.2727, allocations: 0 / 1.097 GB, free: 8.148 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01837/0.2911, allocations: 2.029 MB / 1.099 GB, free: 6.207 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.622/7.913, allocations: 5.875 kB / 1.099 GB, free: 6.203 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