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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001282/0.001282, 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.001389/0.001389, 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.43/1.43, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.621/2.621, allocations: 443.5 MB / 0.7287 GB, free: 13.22 MB / 0.5919 GB " [Timeout remaining time 177] 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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002013/0.002013, allocations: 72.08 kB / 1.056 GB, free: 4.426 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9473/0.9494, allocations: 160.7 MB / 1.213 GB, free: 5.531 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.VectorFunctions): time 0.003599/0.953, allocations: 1.602 MB / 1.214 GB, free: 3.922 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001146/0.9541, allocations: 0.5113 MB / 1.215 GB, free: 3.402 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.067e-05/0.9542, allocations: 0 / 1.215 GB, free: 3.402 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001249/0.9543, allocations: 15.86 kB / 1.215 GB, free: 3.387 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 3.746e-05/0.9543, allocations: 11.81 kB / 1.215 GB, free: 3.375 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002666/0.9546, allocations: 31.97 kB / 1.215 GB, free: 3.344 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001557/0.9548, allocations: 87.75 kB / 1.215 GB, free: 3.258 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001806/0.9549, allocations: 37.98 kB / 1.215 GB, free: 3.219 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 9.416e-05/0.955, allocations: 39.83 kB / 1.215 GB, free: 3.18 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 8.899e-05/0.9551, allocations: 39.84 kB / 1.215 GB, free: 3.141 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.006e-05/0.9551, allocations: 4 kB / 1.215 GB, free: 3.137 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 7.911e-05/0.9552, allocations: 15.98 kB / 1.215 GB, free: 3.121 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 4.87e-05/0.9553, allocations: 23.92 kB / 1.215 GB, free: 3.098 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 5.253e-05/0.9553, allocations: 31.75 kB / 1.215 GB, free: 3.066 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001913/0.9555, allocations: 95.56 kB / 1.215 GB, free: 2.973 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.9555, allocations: 4 kB / 1.215 GB, free: 2.969 MB / 0.92 GB Notification: Performance of FrontEnd: time 3.787e-06/0.9555, allocations: 4 kB / 1.215 GB, free: 2.965 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.662e-06/0.9555, allocations: 3.938 kB / 1.215 GB, free: 2.961 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.0006454/0.9562, allocations: 403 kB / 1.216 GB, free: 2.52 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.352e-05/0.9562, allocations: 8.625 kB / 1.216 GB, free: 2.512 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.139e-05/0.9563, allocations: 42.73 kB / 1.216 GB, free: 2.461 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.57e-05/0.9563, allocations: 12.84 kB / 1.216 GB, free: 2.449 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002439/0.9565, allocations: 194.7 kB / 1.216 GB, free: 2.223 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.177e-05/0.9566, allocations: 8.312 kB / 1.216 GB, free: 2.215 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.208e-05/0.9566, allocations: 8.359 kB / 1.216 GB, free: 2.207 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002643/0.9568, allocations: 109.8 kB / 1.216 GB, free: 2.094 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/0.9569, allocations: 7.922 kB / 1.216 GB, free: 2.086 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.156e-05/0.9569, allocations: 0 / 1.216 GB, free: 2.086 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.9569, allocations: 0 / 1.216 GB, free: 2.086 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002285/0.9571, allocations: 99.92 kB / 1.216 GB, free: 1.988 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006462/0.9577, allocations: 384.5 kB / 1.217 GB, free: 1.562 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001478/0.9579, allocations: 54.55 kB / 1.217 GB, free: 1.5 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001107/0.958, allocations: 44.95 kB / 1.217 GB, free: 1.453 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 4.229e-05/0.958, allocations: 7.984 kB / 1.217 GB, free: 1.445 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.728e-05/0.9581, allocations: 42.55 kB / 1.217 GB, free: 1.395 MB / 0.92 GB Notification: Performance of pre-optimization done (n=6): time 1.122e-06/0.9581, allocations: 0 / 1.217 GB, free: 1.395 MB / 0.92 GB Notification: Performance of matching and sorting (n=6): time 0.000487/0.9586, allocations: 161.5 kB / 1.217 GB, free: 1.23 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.884e-05/0.9586, allocations: 55.34 kB / 1.217 GB, free: 1.164 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001994/0.9588, allocations: 129.8 kB / 1.217 GB, free: 1.027 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.321e-05/0.9588, allocations: 33.7 kB / 1.217 GB, free: 0.9883 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 7.766e-05/0.9589, allocations: 100.1 kB / 1.217 GB, free: 0.8867 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 3.557e-05/0.959, allocations: 31.86 kB / 1.217 GB, free: 0.8555 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.32e-05/0.959, allocations: 17.72 kB / 1.217 GB, free: 0.832 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.000155/0.9592, allocations: 322.8 kB / 1.218 GB, free: 0.5078 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001104/0.9593, allocations: 35.97 kB / 1.218 GB, free: 484 kB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001056/0.9594, allocations: 43.97 kB / 1.218 GB, free: 440 kB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002093/0.9596, allocations: 88.8 kB / 1.218 GB, free: 348 kB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.9596, allocations: 384 / 1.218 GB, free: 348 kB / 0.92 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002703/0.9599, allocations: 129.5 kB / 1.218 GB, free: 212 kB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.533e-05/0.9599, allocations: 4 kB / 1.218 GB, free: 208 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.9599, allocations: 0 / 1.218 GB, free: 208 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.799e-05/0.9599, allocations: 3.938 kB / 1.218 GB, free: 204 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001402/0.96, allocations: 27.97 kB / 1.218 GB, free: 176 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.701e-06/0.96, allocations: 0 / 1.218 GB, free: 176 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.574e-05/0.9601, allocations: 4 kB / 1.218 GB, free: 172 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.719e-05/0.9601, allocations: 7.984 kB / 1.218 GB, free: 164 kB / 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.0001034/0.9602, allocations: 113.8 kB / 1.218 GB, free: 40 kB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.119e-05/0.9603, allocations: 7.953 kB / 1.218 GB, free: 32 kB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003826/0.9606, allocations: 150.3 kB / 1.218 GB, free: 15.88 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.9606, allocations: 3.938 kB / 1.218 GB, free: 15.87 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.9607, allocations: 0 / 1.218 GB, free: 15.87 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.9607, allocations: 3.984 kB / 1.218 GB, free: 15.87 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002514/0.9609, allocations: 201.6 kB / 1.218 GB, free: 15.62 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.9609, allocations: 0 / 1.218 GB, free: 15.62 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001054/0.961, allocations: 19.98 kB / 1.218 GB, free: 15.6 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.961, allocations: 3.938 kB / 1.218 GB, free: 15.6 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.63e-05/0.961, allocations: 7.984 kB / 1.218 GB, free: 15.59 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.567e-06/0.961, allocations: 7.938 kB / 1.218 GB, free: 15.58 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.961, allocations: 0 / 1.218 GB, free: 15.58 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000344/0.9614, allocations: 223.4 kB / 1.219 GB, free: 15.35 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6.841e-05/0.9615, allocations: 81.06 kB / 1.219 GB, free: 15.25 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.365e-05/0.9615, allocations: 4.188 kB / 1.219 GB, free: 15.25 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001033/0.9616, allocations: 15.94 kB / 1.219 GB, free: 15.23 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.736e-05/0.9616, allocations: 7.984 kB / 1.219 GB, free: 15.22 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.166e-05/0.9616, allocations: 4 kB / 1.219 GB, free: 15.22 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 8.118e-05/0.9617, allocations: 105.8 kB / 1.219 GB, free: 15.12 MB / 0.9356 GB Notification: Performance of sort global known variables: time 9e-08/0.9617, allocations: 0 / 1.219 GB, free: 15.12 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002433/0.962, allocations: 23.89 kB / 1.219 GB, free: 15.09 MB / 0.9356 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.0007935/0.9628, allocations: 0.7631 MB / 1.22 GB, free: 14.3 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002903/0.9631, allocations: 95.94 kB / 1.22 GB, free: 14.21 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.9631, allocations: 0 / 1.22 GB, free: 14.21 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001288/0.9632, allocations: 55.89 kB / 1.22 GB, free: 14.16 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002396/0.9634, allocations: 3.938 kB / 1.22 GB, free: 14.15 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002032/0.9655, allocations: 1.612 MB / 1.221 GB, free: 12.46 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003574/0.9658, allocations: 0.7002 MB / 1.222 GB, free: 11.73 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0001717/0.966, allocations: 19.97 kB / 1.222 GB, free: 11.71 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.228e-05/0.966, allocations: 27.42 kB / 1.222 GB, free: 11.68 MB / 0.9356 GB Notification: Performance of SimCode: time 7.21e-07/0.9661, allocations: 0 / 1.222 GB, free: 11.68 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02579/0.9918, allocations: 2.022 MB / 1.224 GB, free: 9.754 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.155/9.147, allocations: 8.578 kB / 1.224 GB, free: 9.746 MB / 0.9356 GB " [Timeout remaining time 291] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Math.Examples.VectorFunctions_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Math_Examples_VectorFunctions_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Utilities_Math_Examples_VectorFunctions.fmu > Buildings_10_Buildings.Utilities.Math.Examples.VectorFunctions.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Examples.VectorFunctions_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Examples_VectorFunctions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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.009556334931403]