Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Examples.VectorFunctions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001673/0.001673, allocations: 116.8 kB / 17.16 MB, free: 5.895 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002021/0.002021, allocations: 212 kB / 20.13 MB, free: 2.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.641/1.641, allocations: 230.6 MB / 253.5 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.304/3.304, allocations: 0.5003 GB / 0.8026 GB, free: 6.695 MB / 0.6387 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.VectorFunctions,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_VectorFunctions",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.VectorFunctions,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_VectorFunctions",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00278/0.00278, allocations: 63.91 kB / 1.165 GB, free: 476 kB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.102/1.105, allocations: 178.9 MB / 1.34 GB, free: 16.25 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.VectorFunctions): time 0.003563/1.109, allocations: 1.646 MB / 1.342 GB, free: 15.09 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001427/1.11, allocations: 0.5952 MB / 1.342 GB, free: 14.68 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001044/1.11, allocations: 1.844 kB / 1.342 GB, free: 14.68 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001773/1.11, allocations: 10.73 kB / 1.342 GB, free: 14.67 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 6.294e-05/1.11, allocations: 19.42 kB / 1.342 GB, free: 14.66 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004127/1.111, allocations: 64.58 kB / 1.342 GB, free: 14.62 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002012/1.111, allocations: 88.06 kB / 1.342 GB, free: 14.58 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002305/1.111, allocations: 35.7 kB / 1.343 GB, free: 14.57 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002056/1.111, allocations: 48.38 kB / 1.343 GB, free: 14.54 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000119/1.111, allocations: 42.36 kB / 1.343 GB, free: 14.52 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.429e-05/1.111, allocations: 5.062 kB / 1.343 GB, free: 14.52 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001041/1.112, allocations: 26.09 kB / 1.343 GB, free: 14.51 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 6.285e-05/1.112, allocations: 21.2 kB / 1.343 GB, free: 14.5 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 6.91e-05/1.112, allocations: 41.52 kB / 1.343 GB, free: 14.47 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002671/1.112, allocations: 100.1 kB / 1.343 GB, free: 14.43 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 7.013e-06/1.112, allocations: 0 / 1.343 GB, free: 14.43 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.033e-06/1.112, allocations: 1.406 kB / 1.343 GB, free: 14.43 MB / 1.061 GB Notification: Performance of Transformations before backend: time 9.948e-06/1.112, allocations: 0 / 1.343 GB, free: 14.43 MB / 1.061 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.0007408/1.113, allocations: 414.3 kB / 1.343 GB, free: 14.02 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 6.59e-05/1.113, allocations: 11.56 kB / 1.343 GB, free: 14.02 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.236e-05/1.113, allocations: 9.156 kB / 1.343 GB, free: 14.02 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.574e-05/1.113, allocations: 38.66 kB / 1.343 GB, free: 13.97 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003507/1.113, allocations: 39.72 kB / 1.343 GB, free: 13.96 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002825/1.114, allocations: 203.3 kB / 1.343 GB, free: 13.75 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.003e-05/1.114, allocations: 8.922 kB / 1.343 GB, free: 13.75 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.964e-05/1.114, allocations: 7.781 kB / 1.343 GB, free: 13.75 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003176/1.114, allocations: 108.8 kB / 1.344 GB, free: 13.69 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.289e-05/1.114, allocations: 3.938 kB / 1.344 GB, free: 13.69 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.742e-05/1.114, allocations: 4.875 kB / 1.344 GB, free: 13.68 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.095e-06/1.114, allocations: 1.469 kB / 1.344 GB, free: 13.68 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003011/1.114, allocations: 93.55 kB / 1.344 GB, free: 13.67 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007195/1.115, allocations: 389.3 kB / 1.344 GB, free: 13.34 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001609/1.115, allocations: 55.67 kB / 1.344 GB, free: 13.31 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001325/1.115, allocations: 47.97 kB / 1.344 GB, free: 13.29 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 5.536e-05/1.115, allocations: 8.125 kB / 1.344 GB, free: 13.29 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.976e-05/1.115, allocations: 30.56 kB / 1.344 GB, free: 13.25 MB / 1.061 GB Notification: Performance of pre-optimization done (n=6): time 1.523e-06/1.115, allocations: 5.344 kB / 1.344 GB, free: 13.25 MB / 1.061 GB Notification: Performance of matching and sorting (n=6): time 0.0005762/1.116, allocations: 169 kB / 1.344 GB, free: 13.18 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.356e-05/1.116, allocations: 53.39 kB / 1.344 GB, free: 13.11 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001395/1.116, allocations: 139.5 kB / 1.345 GB, free: 13 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.616e-05/1.116, allocations: 25.7 kB / 1.345 GB, free: 12.97 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 6.461e-05/1.116, allocations: 104.8 kB / 1.345 GB, free: 12.88 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.574e-05/1.116, allocations: 28 kB / 1.345 GB, free: 12.85 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.848e-05/1.116, allocations: 22.08 kB / 1.345 GB, free: 12.83 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 7.892e-05/1.116, allocations: 319.7 kB / 1.345 GB, free: 12.52 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00013/1.116, allocations: 38.53 kB / 1.345 GB, free: 12.51 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001194/1.117, allocations: 39.06 kB / 1.345 GB, free: 12.5 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002376/1.117, allocations: 96.31 kB / 1.345 GB, free: 12.46 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/1.117, allocations: 0 / 1.345 GB, free: 12.46 MB / 1.061 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002976/1.117, allocations: 132.5 kB / 1.345 GB, free: 12.4 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.461e-05/1.117, allocations: 7.844 kB / 1.345 GB, free: 12.4 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/1.117, allocations: 0 / 1.345 GB, free: 12.4 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.295e-05/1.117, allocations: 0.75 kB / 1.345 GB, free: 12.4 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001571/1.117, allocations: 18.2 kB / 1.345 GB, free: 12.4 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.166e-06/1.117, allocations: 4.688 kB / 1.345 GB, free: 12.4 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.41e-05/1.117, allocations: 11.52 kB / 1.345 GB, free: 12.39 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.184e-05/1.117, allocations: 4.062 kB / 1.345 GB, free: 12.39 MB / 1.061 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.41e-05/1.118, allocations: 125.6 kB / 1.345 GB, free: 12.27 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.87e-05/1.118, allocations: 12.02 kB / 1.346 GB, free: 12.26 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004269/1.118, allocations: 142.3 kB / 1.346 GB, free: 12.2 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.629e-06/1.118, allocations: 0.75 kB / 1.346 GB, free: 12.2 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/1.118, allocations: 5.375 kB / 1.346 GB, free: 12.2 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/1.118, allocations: 0 / 1.346 GB, free: 12.2 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002417/1.118, allocations: 212.8 kB / 1.346 GB, free: 11.98 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/1.118, allocations: 5.781 kB / 1.346 GB, free: 11.98 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001121/1.118, allocations: 16.5 kB / 1.346 GB, free: 11.98 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.978e-06/1.118, allocations: 5.359 kB / 1.346 GB, free: 11.97 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.6e-05/1.118, allocations: 2.391 kB / 1.346 GB, free: 11.97 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/1.118, allocations: 0 / 1.346 GB, free: 11.97 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/1.118, allocations: 0.5625 kB / 1.346 GB, free: 11.97 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003615/1.119, allocations: 232.4 kB / 1.346 GB, free: 11.8 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.831e-05/1.119, allocations: 92.81 kB / 1.346 GB, free: 11.7 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.139e-05/1.119, allocations: 0.6562 kB / 1.346 GB, free: 11.7 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.967e-05/1.119, allocations: 7.516 kB / 1.346 GB, free: 11.7 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.962e-05/1.119, allocations: 10.64 kB / 1.346 GB, free: 11.7 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.125e-05/1.119, allocations: 3.359 kB / 1.346 GB, free: 11.7 MB / 1.061 GB Notification: Performance of sorting global known variables: time 6.678e-05/1.119, allocations: 113.2 kB / 1.346 GB, free: 11.61 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/1.119, allocations: 0 / 1.346 GB, free: 11.61 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002454/1.119, allocations: 14.09 kB / 1.346 GB, free: 11.61 MB / 1.061 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.0005543/1.12, allocations: 0.7719 MB / 1.347 GB, free: 10.91 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0003054/1.12, allocations: 92.55 kB / 1.347 GB, free: 10.89 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/1.12, allocations: 0 / 1.347 GB, free: 10.89 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001309/1.12, allocations: 55.23 kB / 1.347 GB, free: 10.88 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002287/1.121, allocations: 2.953 kB / 1.347 GB, free: 10.88 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001811/1.122, allocations: 1.631 MB / 1.349 GB, free: 9.566 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002012/1.123, allocations: 0.7056 MB / 1.35 GB, free: 8.867 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 7.97e-05/1.123, allocations: 15.11 kB / 1.35 GB, free: 8.863 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.277e-05/1.123, allocations: 27.72 kB / 1.35 GB, free: 8.844 MB / 1.061 GB Notification: Performance of SimCode: time 5.11e-07/1.123, allocations: 4 kB / 1.35 GB, free: 8.84 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02101/1.144, allocations: 2.148 MB / 1.352 GB, free: 8.375 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.423/9.567, allocations: 9.438 kB / 1.352 GB, free: 8.375 MB / 1.061 GB " [Timeout remaining time 290] (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.VectorFunctions.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.VectorFunctions.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.VectorFunctions.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.VectorFunctions.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Examples.VectorFunctions_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Examples_VectorFunctions_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Examples_VectorFunctions.fmu > Buildings_latest_Buildings.Utilities.Math.Examples.VectorFunctions.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.VectorFunctions_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_VectorFunctions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.VectorFunctions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 16.860013638040982]