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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.00133/0.00133, allocations: 108.6 kB / 15.73 MB, free: 72 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.001248/0.001247, allocations: 183.1 kB / 16.66 MB, free: 6.602 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.458/1.458, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.738/2.738, allocations: 437 MB / 0.7105 GB, free: 5.008 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001953/0.001953, allocations: 63.91 kB / 1.018 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.316/0.3179, allocations: 151.6 MB / 1.166 GB, free: 7.293 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.VectorFunctions): time 0.003046/0.321, allocations: 1.595 MB / 1.168 GB, free: 5.68 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0008913/0.322, allocations: 0.4958 MB / 1.168 GB, free: 5.176 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.597e-05/0.322, allocations: 0 / 1.168 GB, free: 5.176 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001094/0.3221, allocations: 11.86 kB / 1.168 GB, free: 5.164 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 3.862e-05/0.3222, allocations: 19.8 kB / 1.168 GB, free: 5.145 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002233/0.3224, allocations: 35.97 kB / 1.168 GB, free: 5.109 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001437/0.3226, allocations: 83.7 kB / 1.168 GB, free: 5.027 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001496/0.3227, allocations: 44.2 kB / 1.168 GB, free: 4.98 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 9.232e-05/0.3228, allocations: 39.78 kB / 1.168 GB, free: 4.941 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 8.464e-05/0.3229, allocations: 35.84 kB / 1.168 GB, free: 4.906 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.096e-05/0.323, allocations: 8 kB / 1.168 GB, free: 4.898 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 6.702e-05/0.323, allocations: 15.98 kB / 1.168 GB, free: 4.883 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 4.401e-05/0.3231, allocations: 23.92 kB / 1.169 GB, free: 4.859 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 5.528e-05/0.3231, allocations: 35.73 kB / 1.169 GB, free: 4.824 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001672/0.3233, allocations: 87.86 kB / 1.169 GB, free: 4.738 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.3233, allocations: 0 / 1.169 GB, free: 4.738 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.503e-06/0.3233, allocations: 7.938 kB / 1.169 GB, free: 4.73 MB / 0.92 GB Notification: Performance of Transformations before backend: time 9.488e-06/0.3233, allocations: 0 / 1.169 GB, free: 4.73 MB / 0.92 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.0005842/0.3239, allocations: 407 kB / 1.169 GB, free: 4.285 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.233e-05/0.324, allocations: 8.031 kB / 1.169 GB, free: 4.277 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.779e-05/0.324, allocations: 46.67 kB / 1.169 GB, free: 4.223 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.664e-05/0.3241, allocations: 12.84 kB / 1.169 GB, free: 4.211 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001991/0.3243, allocations: 192.2 kB / 1.169 GB, free: 3.984 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.166e-05/0.3243, allocations: 8.312 kB / 1.169 GB, free: 3.977 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.732e-05/0.3243, allocations: 8.375 kB / 1.169 GB, free: 3.969 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000269/0.3246, allocations: 113.8 kB / 1.169 GB, free: 3.852 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/0.3246, allocations: 0 / 1.169 GB, free: 3.852 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.919e-06/0.3246, allocations: 0 / 1.169 GB, free: 3.852 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.595e-06/0.3247, allocations: 0 / 1.169 GB, free: 3.852 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002372/0.3249, allocations: 103.9 kB / 1.169 GB, free: 3.75 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006138/0.3255, allocations: 384.5 kB / 1.17 GB, free: 3.324 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001514/0.3257, allocations: 54.55 kB / 1.17 GB, free: 3.262 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001257/0.3258, allocations: 48.95 kB / 1.17 GB, free: 3.211 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 3.711e-05/0.3259, allocations: 4 kB / 1.17 GB, free: 3.207 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.265e-05/0.3259, allocations: 38.56 kB / 1.17 GB, free: 3.16 MB / 0.92 GB Notification: Performance of pre-optimization done (n=6): time 1.102e-06/0.3259, allocations: 0 / 1.17 GB, free: 3.16 MB / 0.92 GB Notification: Performance of matching and sorting (n=6): time 0.0004799/0.3264, allocations: 169.5 kB / 1.17 GB, free: 2.988 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.562e-05/0.3264, allocations: 55.34 kB / 1.17 GB, free: 2.922 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00013/0.3266, allocations: 131.5 kB / 1.17 GB, free: 2.785 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.843e-05/0.3266, allocations: 25.7 kB / 1.17 GB, free: 2.754 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 7.291e-05/0.3267, allocations: 116.2 kB / 1.17 GB, free: 2.637 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.349e-05/0.3267, allocations: 11.86 kB / 1.17 GB, free: 2.625 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.962e-05/0.3268, allocations: 25.7 kB / 1.171 GB, free: 2.594 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001436/0.3269, allocations: 318.8 kB / 1.171 GB, free: 2.273 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001201/0.327, allocations: 39.97 kB / 1.171 GB, free: 2.234 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001017/0.3271, allocations: 35.97 kB / 1.171 GB, free: 2.199 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002233/0.3274, allocations: 92.8 kB / 1.171 GB, free: 2.105 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.3274, allocations: 0 / 1.171 GB, free: 2.105 MB / 0.92 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002898/0.3277, allocations: 125.5 kB / 1.171 GB, free: 1.977 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/0.3277, allocations: 8 kB / 1.171 GB, free: 1.969 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.3277, allocations: 0 / 1.171 GB, free: 1.969 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.825e-05/0.3277, allocations: 3.938 kB / 1.171 GB, free: 1.965 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001357/0.3279, allocations: 19.98 kB / 1.171 GB, free: 1.945 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.532e-06/0.3279, allocations: 3.984 kB / 1.171 GB, free: 1.941 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.948e-05/0.328, allocations: 12 kB / 1.171 GB, free: 1.93 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.809e-05/0.328, allocations: 0 / 1.171 GB, free: 1.93 MB / 0.92 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.0001006/0.3281, allocations: 121.8 kB / 1.171 GB, free: 1.801 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.026e-05/0.3281, allocations: 7.953 kB / 1.171 GB, free: 1.793 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003647/0.3285, allocations: 154.6 kB / 1.171 GB, free: 1.637 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.041e-06/0.3285, allocations: 11.86 kB / 1.171 GB, free: 1.625 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.3285, allocations: 4 kB / 1.171 GB, free: 1.621 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.3285, allocations: 0 / 1.171 GB, free: 1.621 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002476/0.3288, allocations: 209.7 kB / 1.172 GB, free: 1.367 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.3288, allocations: 0 / 1.172 GB, free: 1.367 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001025/0.3289, allocations: 15.98 kB / 1.172 GB, free: 1.352 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.512e-06/0.3289, allocations: 0 / 1.172 GB, free: 1.352 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.328e-06/0.3289, allocations: 0 / 1.172 GB, free: 1.352 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.432e-06/0.329, allocations: 11.92 kB / 1.172 GB, free: 1.34 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.329, allocations: 0 / 1.172 GB, free: 1.34 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003317/0.3293, allocations: 223.4 kB / 1.172 GB, free: 1.105 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 6.413e-05/0.3294, allocations: 89.05 kB / 1.172 GB, free: 1 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.704e-05/0.3294, allocations: 0 / 1.172 GB, free: 1 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.945e-05/0.3295, allocations: 7.938 kB / 1.172 GB, free: 0.9922 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.401e-05/0.3296, allocations: 11.98 kB / 1.172 GB, free: 0.9805 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.238e-06/0.3296, allocations: 4 kB / 1.172 GB, free: 0.9766 MB / 0.92 GB Notification: Performance of sorting global known variables: time 7.01e-05/0.3297, allocations: 105 kB / 1.172 GB, free: 0.875 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3297, allocations: 0 / 1.172 GB, free: 0.875 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002431/0.3299, allocations: 19.95 kB / 1.172 GB, free: 0.8555 MB / 0.92 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.0007265/0.3306, allocations: 0.767 MB / 1.173 GB, free: 64 kB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0003053/0.331, allocations: 95.94 kB / 1.173 GB, free: 15.97 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.331, allocations: 0 / 1.173 GB, free: 15.97 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001387/0.3311, allocations: 55.95 kB / 1.173 GB, free: 15.91 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002176/0.3313, allocations: 11.81 kB / 1.173 GB, free: 15.91 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00201/0.3334, allocations: 1.613 MB / 1.175 GB, free: 14.21 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003872/0.3338, allocations: 0.7002 MB / 1.175 GB, free: 13.48 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.000146/0.3339, allocations: 16.05 kB / 1.175 GB, free: 13.47 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.107e-05/0.334, allocations: 31.42 kB / 1.175 GB, free: 13.44 MB / 0.9356 GB Notification: Performance of SimCode: time 5.21e-07/0.334, allocations: 0 / 1.175 GB, free: 13.44 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02283/0.3568, allocations: 2.006 MB / 1.177 GB, free: 11.52 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.192/8.549, allocations: 8.656 kB / 1.177 GB, free: 11.52 MB / 0.9356 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 & python3 -m fmpy simulate --output-file Buildings_10_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_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.csv","/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