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.001273/0.001273, allocations: 108.2 kB / 16.46 MB, free: 6.035 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.001254/0.001254, allocations: 191.8 kB / 19.41 MB, free: 3.539 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.523/1.523, allocations: 225.6 MB / 247.8 MB, free: 13.94 MB / 206.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.861/2.861, allocations: 476.7 MB / 0.7611 GB, free: 11.29 MB / 0.6231 GB " [Timeout remaining time 177] 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.001972/0.001972, allocations: 75.89 kB / 1.104 GB, free: 9.238 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8782/0.8802, allocations: 168.7 MB / 1.269 GB, free: 5.195 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.VectorFunctions): time 0.002976/0.8831, allocations: 1.613 MB / 1.27 GB, free: 3.574 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001008/0.8841, allocations: 0.5042 MB / 1.271 GB, free: 3.066 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.643e-05/0.8842, allocations: 0 / 1.271 GB, free: 3.066 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001369/0.8843, allocations: 15.86 kB / 1.271 GB, free: 3.051 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 3.689e-05/0.8844, allocations: 15.81 kB / 1.271 GB, free: 3.035 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002601/0.8846, allocations: 39.94 kB / 1.271 GB, free: 2.996 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001431/0.8848, allocations: 83.59 kB / 1.271 GB, free: 2.914 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001679/0.8849, allocations: 34.03 kB / 1.271 GB, free: 2.883 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 9.417e-05/0.885, allocations: 39.84 kB / 1.271 GB, free: 2.844 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 8.705e-05/0.8851, allocations: 43.84 kB / 1.271 GB, free: 2.801 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.363e-05/0.8852, allocations: 8 kB / 1.271 GB, free: 2.793 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 7.031e-05/0.8852, allocations: 11.98 kB / 1.271 GB, free: 2.781 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 4.722e-05/0.8853, allocations: 19.92 kB / 1.271 GB, free: 2.762 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 6.121e-05/0.8853, allocations: 47.72 kB / 1.271 GB, free: 2.715 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001792/0.8855, allocations: 87.58 kB / 1.271 GB, free: 2.629 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.8855, allocations: 3.938 kB / 1.271 GB, free: 2.625 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.884e-06/0.8855, allocations: 0 / 1.271 GB, free: 2.625 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.09e-05/0.8855, allocations: 0 / 1.271 GB, free: 2.625 MB / 0.9669 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.000627/0.8862, allocations: 405 kB / 1.272 GB, free: 2.184 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.172e-05/0.8862, allocations: 12.03 kB / 1.272 GB, free: 2.172 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.66e-05/0.8862, allocations: 38.73 kB / 1.272 GB, free: 2.125 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.762e-05/0.8863, allocations: 16.84 kB / 1.272 GB, free: 2.109 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002236/0.8865, allocations: 194.5 kB / 1.272 GB, free: 1.883 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.367e-05/0.8865, allocations: 8.375 kB / 1.272 GB, free: 1.875 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.753e-05/0.8865, allocations: 4.375 kB / 1.272 GB, free: 1.871 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002727/0.8868, allocations: 112.5 kB / 1.272 GB, free: 1.758 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.8868, allocations: 0 / 1.272 GB, free: 1.758 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.561e-05/0.8868, allocations: 11.94 kB / 1.272 GB, free: 1.746 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.8868, allocations: 0 / 1.272 GB, free: 1.746 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002444/0.8871, allocations: 99.92 kB / 1.272 GB, free: 1.648 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000655/0.8877, allocations: 376.5 kB / 1.272 GB, free: 1.23 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001594/0.8879, allocations: 62.55 kB / 1.273 GB, free: 1.16 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001166/0.888, allocations: 44.95 kB / 1.273 GB, free: 1.113 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 4.517e-05/0.8881, allocations: 7.984 kB / 1.273 GB, free: 1.105 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.881e-05/0.8881, allocations: 30.56 kB / 1.273 GB, free: 1.066 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=6): time 1.082e-06/0.8881, allocations: 0 / 1.273 GB, free: 1.066 MB / 0.9669 GB Notification: Performance of matching and sorting (n=6): time 0.0004661/0.8886, allocations: 169.5 kB / 1.273 GB, free: 0.8945 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.812e-05/0.8886, allocations: 55.34 kB / 1.273 GB, free: 0.8281 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001215/0.8887, allocations: 129.8 kB / 1.273 GB, free: 0.6914 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.989e-05/0.8887, allocations: 25.7 kB / 1.273 GB, free: 0.6602 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 7.034e-05/0.8888, allocations: 108.1 kB / 1.273 GB, free: 0.5508 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.781e-05/0.8888, allocations: 19.92 kB / 1.273 GB, free: 0.5312 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.424e-05/0.8889, allocations: 21.72 kB / 1.273 GB, free: 0.5039 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001438/0.889, allocations: 322.8 kB / 1.273 GB, free: 184 kB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001099/0.8891, allocations: 39.97 kB / 1.273 GB, free: 144 kB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.661e-05/0.8892, allocations: 35.97 kB / 1.273 GB, free: 108 kB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002184/0.8895, allocations: 93.17 kB / 1.274 GB, free: 12 kB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.8895, allocations: 0 / 1.274 GB, free: 12 kB / 0.9669 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002855/0.8897, allocations: 133.5 kB / 1.274 GB, free: 15.87 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.432e-05/0.8898, allocations: 8 kB / 1.274 GB, free: 15.86 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.8898, allocations: 0 / 1.274 GB, free: 15.86 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.126e-05/0.8898, allocations: 3.938 kB / 1.274 GB, free: 15.86 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001389/0.8899, allocations: 19.97 kB / 1.274 GB, free: 15.84 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.8899, allocations: 0 / 1.274 GB, free: 15.84 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.57e-05/0.89, allocations: 12 kB / 1.274 GB, free: 15.83 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.356e-05/0.89, allocations: 7.969 kB / 1.274 GB, free: 15.82 MB / 0.9825 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.0001061/0.8901, allocations: 121.8 kB / 1.274 GB, free: 15.69 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.588e-05/0.8902, allocations: 7.953 kB / 1.274 GB, free: 15.68 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004466/0.8906, allocations: 146.2 kB / 1.274 GB, free: 15.52 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.458e-06/0.8906, allocations: 3.938 kB / 1.274 GB, free: 15.52 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.8906, allocations: 4 kB / 1.274 GB, free: 15.52 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.666e-06/0.8906, allocations: 0 / 1.274 GB, free: 15.52 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002418/0.8909, allocations: 209.5 kB / 1.274 GB, free: 15.26 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.8909, allocations: 0 / 1.274 GB, free: 15.26 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001047/0.891, allocations: 15.98 kB / 1.274 GB, free: 15.25 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.438e-06/0.891, allocations: 3.984 kB / 1.274 GB, free: 15.24 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.889e-06/0.891, allocations: 0 / 1.274 GB, free: 15.24 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.867e-06/0.891, allocations: 7.938 kB / 1.274 GB, free: 15.23 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.891, allocations: 0 / 1.274 GB, free: 15.23 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003384/0.8913, allocations: 235.4 kB / 1.274 GB, free: 14.99 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.323e-05/0.8914, allocations: 85.06 kB / 1.275 GB, free: 14.89 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.821e-05/0.8914, allocations: 0 / 1.275 GB, free: 14.89 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001017/0.8915, allocations: 11.92 kB / 1.275 GB, free: 14.88 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.56e-05/0.8916, allocations: 8 kB / 1.275 GB, free: 14.87 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.477e-05/0.8916, allocations: 7.984 kB / 1.275 GB, free: 14.86 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.592e-05/0.8917, allocations: 105.5 kB / 1.275 GB, free: 14.76 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.8917, allocations: 0 / 1.275 GB, free: 14.76 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002536/0.8919, allocations: 12 kB / 1.275 GB, free: 14.75 MB / 0.9825 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.0007479/0.8927, allocations: 0.7675 MB / 1.275 GB, free: 13.96 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002878/0.893, allocations: 99.92 kB / 1.276 GB, free: 13.86 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.893, allocations: 0 / 1.276 GB, free: 13.86 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001241/0.8931, allocations: 51.91 kB / 1.276 GB, free: 13.81 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000234/0.8933, allocations: 15.88 kB / 1.276 GB, free: 13.79 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002003/0.8953, allocations: 1.602 MB / 1.277 GB, free: 12.11 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003701/0.8957, allocations: 0.7002 MB / 1.278 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001813/0.8959, allocations: 15.97 kB / 1.278 GB, free: 11.37 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.295e-05/0.8959, allocations: 31.42 kB / 1.278 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of SimCode: time 4.21e-07/0.8959, allocations: 0 / 1.278 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02664/0.9226, allocations: 2.026 MB / 1.28 GB, free: 9.406 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.275/9.198, allocations: 6.609 kB / 1.28 GB, free: 9.402 MB / 0.9825 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 --stepSize=0.0004 --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.334305510856211]