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.004501/0.004501, allocations: 103.7 kB / 15.74 MB, free: 5.992 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.001115/0.001115, allocations: 191.9 kB / 16.67 MB, free: 5.918 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.434/1.434, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.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.512/2.512, allocations: 390.3 MB / 0.6648 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001233/0.001233, allocations: 59.91 kB / 0.9504 GB, free: 8.137 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8826/0.8839, allocations: 140.4 MB / 1.087 GB, free: 5.258 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.VectorFunctions): time 0.002616/0.8865, allocations: 1.589 MB / 1.089 GB, free: 4.156 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0008871/0.8874, allocations: 0.5105 MB / 1.09 GB, free: 3.793 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.229e-05/0.8875, allocations: 2.031 kB / 1.09 GB, free: 3.793 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.000115/0.8876, allocations: 10.55 kB / 1.09 GB, free: 3.785 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 3.646e-05/0.8877, allocations: 15.23 kB / 1.09 GB, free: 3.773 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002553/0.8879, allocations: 37.5 kB / 1.09 GB, free: 3.754 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001373/0.8881, allocations: 80.8 kB / 1.09 GB, free: 3.719 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001513/0.8882, allocations: 42.42 kB / 1.09 GB, free: 3.695 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 9.535e-05/0.8883, allocations: 39.95 kB / 1.09 GB, free: 3.676 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 8.832e-05/0.8884, allocations: 48.67 kB / 1.09 GB, free: 3.648 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.916e-05/0.8885, allocations: 6.531 kB / 1.09 GB, free: 3.648 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 6.431e-05/0.8885, allocations: 15.66 kB / 1.09 GB, free: 3.645 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.208e-05/0.8886, allocations: 24.52 kB / 1.09 GB, free: 3.629 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.645e-05/0.8886, allocations: 37.11 kB / 1.09 GB, free: 3.605 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001676/0.8888, allocations: 89.2 kB / 1.09 GB, free: 3.566 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.8888, allocations: 1.5 kB / 1.09 GB, free: 3.566 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.703e-06/0.8888, allocations: 0 / 1.09 GB, free: 3.566 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.858e-06/0.8888, allocations: 0 / 1.09 GB, free: 3.566 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.0004539/0.8893, allocations: 400.3 kB / 1.09 GB, free: 3.176 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.668e-05/0.8893, allocations: 9.062 kB / 1.09 GB, free: 3.176 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.992e-05/0.8894, allocations: 39.45 kB / 1.09 GB, free: 3.133 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.156e-05/0.8894, allocations: 13.97 kB / 1.09 GB, free: 3.125 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001342/0.8896, allocations: 193.5 kB / 1.091 GB, free: 2.914 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.135e-05/0.8896, allocations: 2.438 kB / 1.091 GB, free: 2.914 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.755e-05/0.8896, allocations: 8.75 kB / 1.091 GB, free: 2.91 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002543/0.8899, allocations: 109.5 kB / 1.091 GB, free: 2.859 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.707e-06/0.8899, allocations: 4 kB / 1.091 GB, free: 2.855 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.563e-05/0.8899, allocations: 9.078 kB / 1.091 GB, free: 2.848 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.8899, allocations: 9 kB / 1.091 GB, free: 2.84 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002482/0.8902, allocations: 96.69 kB / 1.091 GB, free: 2.82 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000574/0.8908, allocations: 377 kB / 1.091 GB, free: 2.508 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001499/0.8909, allocations: 67.38 kB / 1.091 GB, free: 2.465 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001216/0.891, allocations: 46.61 kB / 1.091 GB, free: 2.449 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.72e-05/0.8911, allocations: 3.078 kB / 1.091 GB, free: 2.449 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.689e-05/0.8911, allocations: 36.19 kB / 1.091 GB, free: 2.406 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=6): time 1.373e-06/0.8911, allocations: 1.031 kB / 1.091 GB, free: 2.406 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6): time 0.0004657/0.8916, allocations: 164.7 kB / 1.091 GB, free: 2.34 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.162e-05/0.8916, allocations: 56.75 kB / 1.092 GB, free: 2.273 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.213e-05/0.8917, allocations: 138.5 kB / 1.092 GB, free: 2.16 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.156e-05/0.8917, allocations: 29.7 kB / 1.092 GB, free: 2.125 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.103e-05/0.8918, allocations: 104.5 kB / 1.092 GB, free: 2.027 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.632e-05/0.8918, allocations: 20.14 kB / 1.092 GB, free: 2.012 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.117e-05/0.8919, allocations: 28.44 kB / 1.092 GB, free: 1.984 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.869e-05/0.8919, allocations: 319.8 kB / 1.092 GB, free: 1.668 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001322/0.8921, allocations: 38.89 kB / 1.092 GB, free: 1.66 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001117/0.8922, allocations: 38.41 kB / 1.092 GB, free: 1.652 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002305/0.8924, allocations: 88.48 kB / 1.092 GB, free: 1.625 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.043e-06/0.8924, allocations: 4 kB / 1.092 GB, free: 1.621 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002816/0.8927, allocations: 123.3 kB / 1.092 GB, free: 1.566 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.678e-05/0.8927, allocations: 5.281 kB / 1.092 GB, free: 1.566 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.8927, allocations: 5.453 kB / 1.092 GB, free: 1.562 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.793e-05/0.8928, allocations: 4.656 kB / 1.092 GB, free: 1.559 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001518/0.8929, allocations: 22.08 kB / 1.092 GB, free: 1.555 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.8929, allocations: 0 / 1.092 GB, free: 1.555 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.556e-05/0.893, allocations: 8.25 kB / 1.092 GB, free: 1.555 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.064e-05/0.893, allocations: 7.906 kB / 1.092 GB, free: 1.551 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 6.302e-05/0.8931, allocations: 116.6 kB / 1.093 GB, free: 1.434 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.124e-05/0.8932, allocations: 8.469 kB / 1.093 GB, free: 1.43 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003404/0.8935, allocations: 149.4 kB / 1.093 GB, free: 1.355 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.8935, allocations: 4.875 kB / 1.093 GB, free: 1.352 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.8935, allocations: 1.797 kB / 1.093 GB, free: 1.352 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.8935, allocations: 4 kB / 1.093 GB, free: 1.348 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001755/0.8937, allocations: 203.8 kB / 1.093 GB, free: 1.141 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.8937, allocations: 4.594 kB / 1.093 GB, free: 1.137 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001082/0.8938, allocations: 21.69 kB / 1.093 GB, free: 1.133 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.8938, allocations: 1.281 kB / 1.093 GB, free: 1.133 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.082e-05/0.8939, allocations: 5.406 kB / 1.093 GB, free: 1.129 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.8939, allocations: 5.281 kB / 1.093 GB, free: 1.125 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.8939, allocations: 0 / 1.093 GB, free: 1.125 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003085/0.8942, allocations: 219.8 kB / 1.093 GB, free: 0.9688 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.223e-05/0.8942, allocations: 84.52 kB / 1.093 GB, free: 0.8711 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.991e-05/0.8942, allocations: 1.406 kB / 1.093 GB, free: 0.8711 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001066/0.8944, allocations: 15.39 kB / 1.093 GB, free: 0.8633 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.916e-05/0.8944, allocations: 6 kB / 1.093 GB, free: 0.8633 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.447e-05/0.8944, allocations: 3.5 kB / 1.093 GB, free: 0.8633 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.712e-05/0.8945, allocations: 106.7 kB / 1.093 GB, free: 0.7773 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8945, allocations: 4 kB / 1.093 GB, free: 0.7734 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002442/0.8948, allocations: 17.56 kB / 1.093 GB, free: 0.7695 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.0005905/0.8954, allocations: 0.7553 MB / 1.094 GB, free: 16.09 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0003088/0.8957, allocations: 106.5 kB / 1.094 GB, free: 16.06 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.8957, allocations: 1.281 kB / 1.094 GB, free: 16.06 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001319/0.8958, allocations: 49.41 kB / 1.094 GB, free: 16.05 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002342/0.8961, allocations: 12.19 kB / 1.094 GB, free: 16.05 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002181/0.8982, allocations: 1.602 MB / 1.096 GB, free: 14.74 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003275/0.8986, allocations: 0.699 MB / 1.097 GB, free: 14.05 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001545/0.8988, allocations: 17.42 kB / 1.097 GB, free: 14.04 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.404e-05/0.8988, allocations: 34.03 kB / 1.097 GB, free: 14.02 MB / 0.8731 GB Notification: Performance of SimCode: time 5e-07/0.8988, allocations: 0 / 1.097 GB, free: 14.02 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01888/0.9177, allocations: 1.995 MB / 1.099 GB, free: 13.6 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.347/8.265, allocations: 15.44 kB / 1.099 GB, free: 13.59 MB / 0.8731 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Utilities.Math.Examples.VectorFunctions_res.mat --tempDir=temp_Buildings_9_Buildings_Utilities_Math_Examples_VectorFunctions_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.mat","/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