Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001301/0.001301, allocations: 111.3 kB / 17.6 MB, free: 4.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001345/0.001345, allocations: 190.8 kB / 20.78 MB, free: 1.5 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.463/1.463, allocations: 225.6 MB / 249.4 MB, free: 3.16 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.862/2.862, allocations: 476.7 MB / 0.7629 GB, free: 15.08 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Utilities_Math_Examples_VectorFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.VectorFunctions,fileNamePrefix="Buildings_11_Buildings_Utilities_Math_Examples_VectorFunctions",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002192/0.002192, allocations: 75.88 kB / 1.107 GB, free: 5.039 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.109/1.111, allocations: 168.7 MB / 1.272 GB, free: 7.676 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.VectorFunctions): time 0.00322/1.114, allocations: 1.623 MB / 1.273 GB, free: 6.562 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001005/1.115, allocations: 0.5163 MB / 1.274 GB, free: 6.203 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.564e-05/1.115, allocations: 1.344 kB / 1.274 GB, free: 6.203 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001223/1.115, allocations: 11.58 kB / 1.274 GB, free: 6.195 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 4.16e-05/1.115, allocations: 14.7 kB / 1.274 GB, free: 6.184 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002898/1.116, allocations: 34.95 kB / 1.274 GB, free: 6.168 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.000179/1.116, allocations: 79.8 kB / 1.274 GB, free: 6.133 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001736/1.116, allocations: 40.62 kB / 1.274 GB, free: 6.109 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001015/1.116, allocations: 37.03 kB / 1.274 GB, free: 6.094 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 9.997e-05/1.116, allocations: 38.03 kB / 1.274 GB, free: 6.078 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.188e-05/1.116, allocations: 6.844 kB / 1.274 GB, free: 6.078 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.836e-05/1.116, allocations: 13.53 kB / 1.274 GB, free: 6.074 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 4.506e-05/1.116, allocations: 25.52 kB / 1.274 GB, free: 6.059 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 4.971e-05/1.116, allocations: 36.67 kB / 1.274 GB, free: 6.035 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001876/1.117, allocations: 96.36 kB / 1.274 GB, free: 5.988 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/1.117, allocations: 0 / 1.274 GB, free: 5.988 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.763e-06/1.117, allocations: 0.8438 kB / 1.274 GB, free: 5.988 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.7e-06/1.117, allocations: 3.938 kB / 1.274 GB, free: 5.984 MB / 0.9981 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.0005231/1.117, allocations: 400.8 kB / 1.274 GB, free: 5.594 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.076e-05/1.117, allocations: 13.41 kB / 1.274 GB, free: 5.59 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.909e-05/1.117, allocations: 39.55 kB / 1.274 GB, free: 5.547 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.04e-05/1.117, allocations: 14.03 kB / 1.274 GB, free: 5.539 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000154/1.117, allocations: 194.4 kB / 1.275 GB, free: 5.328 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.505e-05/1.117, allocations: 2.719 kB / 1.275 GB, free: 5.328 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.556e-05/1.117, allocations: 9.094 kB / 1.275 GB, free: 5.324 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002922/1.118, allocations: 113.4 kB / 1.275 GB, free: 5.266 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.402e-05/1.118, allocations: 1.547 kB / 1.275 GB, free: 5.266 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.245e-05/1.118, allocations: 0.875 kB / 1.275 GB, free: 5.266 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/1.118, allocations: 1.594 kB / 1.275 GB, free: 5.266 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002535/1.118, allocations: 95.47 kB / 1.275 GB, free: 5.246 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005796/1.119, allocations: 389.7 kB / 1.275 GB, free: 4.922 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001504/1.119, allocations: 55.72 kB / 1.275 GB, free: 4.891 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001184/1.119, allocations: 44.8 kB / 1.275 GB, free: 4.875 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.456e-05/1.119, allocations: 2.656 kB / 1.275 GB, free: 4.875 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.159e-05/1.119, allocations: 39.56 kB / 1.275 GB, free: 4.828 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=6): time 1.152e-06/1.119, allocations: 4 kB / 1.275 GB, free: 4.824 MB / 0.9981 GB Notification: Performance of matching and sorting (n=6): time 0.0005088/1.119, allocations: 165.3 kB / 1.276 GB, free: 4.758 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.241e-05/1.119, allocations: 55.97 kB / 1.276 GB, free: 4.691 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001231/1.12, allocations: 128.3 kB / 1.276 GB, free: 4.586 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.295e-05/1.12, allocations: 29.7 kB / 1.276 GB, free: 4.551 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 4.577e-05/1.12, allocations: 104.7 kB / 1.276 GB, free: 4.453 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.797e-05/1.12, allocations: 27.77 kB / 1.276 GB, free: 4.43 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.282e-05/1.12, allocations: 22.94 kB / 1.276 GB, free: 4.41 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.145e-05/1.12, allocations: 318.3 kB / 1.276 GB, free: 4.094 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001239/1.12, allocations: 38.89 kB / 1.276 GB, free: 4.086 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000114/1.12, allocations: 38.38 kB / 1.276 GB, free: 4.078 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000232/1.12, allocations: 97.73 kB / 1.276 GB, free: 4.043 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/1.12, allocations: 0.9688 kB / 1.276 GB, free: 4.043 MB / 0.9981 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002803/1.12, allocations: 121 kB / 1.276 GB, free: 3.988 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/1.12, allocations: 5.719 kB / 1.276 GB, free: 3.988 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/1.12, allocations: 0.7812 kB / 1.276 GB, free: 3.988 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.737e-05/1.121, allocations: 3.938 kB / 1.276 GB, free: 3.984 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001448/1.121, allocations: 18.23 kB / 1.277 GB, free: 3.984 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/1.121, allocations: 0.6875 kB / 1.277 GB, free: 3.984 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.768e-05/1.121, allocations: 12.64 kB / 1.277 GB, free: 3.98 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.503e-05/1.121, allocations: 4.953 kB / 1.277 GB, free: 3.98 MB / 0.9981 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 7.019e-05/1.121, allocations: 119.2 kB / 1.277 GB, free: 3.859 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.29e-05/1.121, allocations: 9.375 kB / 1.277 GB, free: 3.855 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003738/1.121, allocations: 142.1 kB / 1.277 GB, free: 3.785 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/1.121, allocations: 4.438 kB / 1.277 GB, free: 3.781 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/1.121, allocations: 4.938 kB / 1.277 GB, free: 3.777 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/1.121, allocations: 3.938 kB / 1.277 GB, free: 3.773 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001888/1.121, allocations: 214.5 kB / 1.277 GB, free: 3.559 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.255e-06/1.121, allocations: 4 kB / 1.277 GB, free: 3.555 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001052/1.122, allocations: 16.86 kB / 1.277 GB, free: 3.555 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.766e-06/1.122, allocations: 0.6875 kB / 1.277 GB, free: 3.555 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.193e-05/1.122, allocations: 5.562 kB / 1.277 GB, free: 3.551 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/1.122, allocations: 7.875 kB / 1.277 GB, free: 3.543 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/1.122, allocations: 0.7812 kB / 1.277 GB, free: 3.543 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003148/1.122, allocations: 221.1 kB / 1.277 GB, free: 3.387 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.583e-05/1.122, allocations: 82.84 kB / 1.277 GB, free: 3.289 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.105e-05/1.122, allocations: 5.484 kB / 1.277 GB, free: 3.285 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.817e-05/1.122, allocations: 13.16 kB / 1.277 GB, free: 3.281 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.911e-05/1.122, allocations: 10.27 kB / 1.277 GB, free: 3.277 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.176e-05/1.122, allocations: 2.438 kB / 1.277 GB, free: 3.277 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 5.691e-05/1.122, allocations: 113.2 kB / 1.277 GB, free: 3.188 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/1.122, allocations: 3.938 kB / 1.277 GB, free: 3.184 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000248/1.122, allocations: 12.81 kB / 1.277 GB, free: 3.184 MB / 0.9981 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.0005566/1.123, allocations: 0.7635 MB / 1.278 GB, free: 2.496 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003356/1.123, allocations: 105.7 kB / 1.278 GB, free: 2.469 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/1.123, allocations: 0 / 1.278 GB, free: 2.469 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001301/1.123, allocations: 51.39 kB / 1.278 GB, free: 2.457 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002293/1.124, allocations: 6.188 kB / 1.278 GB, free: 2.453 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001774/1.125, allocations: 1.607 MB / 1.28 GB, free: 17.15 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003401/1.126, allocations: 0.7026 MB / 1.281 GB, free: 16.45 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0001373/1.126, allocations: 22.12 kB / 1.281 GB, free: 16.45 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.634e-05/1.126, allocations: 29.22 kB / 1.281 GB, free: 16.43 MB / 1.014 GB Notification: Performance of SimCode: time 3.11e-07/1.126, allocations: 4 kB / 1.281 GB, free: 16.43 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02713/1.153, allocations: 1.997 MB / 1.283 GB, free: 16.01 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.197/9.35, allocations: 6.328 kB / 1.283 GB, free: 16.01 MB / 1.014 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Utilities.Math.Examples.VectorFunctions.pipe ; mkfifo Buildings_11_Buildings.Utilities.Math.Examples.VectorFunctions.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Math.Examples.VectorFunctions.pipe >> ../files/Buildings_11_Buildings.Utilities.Math.Examples.VectorFunctions.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Utilities.Math.Examples.VectorFunctions_res.mat --tempDir=temp_Buildings_11_Buildings_Utilities_Math_Examples_VectorFunctions_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Utilities_Math_Examples_VectorFunctions.fmu > Buildings_11_Buildings.Utilities.Math.Examples.VectorFunctions.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Math.Examples.VectorFunctions_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Math_Examples_VectorFunctions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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: 15.599362357024802]