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.00173/0.00173, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002324/0.002324, allocations: 211.8 kB / 22.24 MB, free: 5.262 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.545/1.545, allocations: 230.6 MB / 256 MB, free: 7.82 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.375/3.375, allocations: 0.5107 GB / 0.8158 GB, free: 17.86 MB / 0.6231 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.VectorFunctions,fileNamePrefix="Buildings_latest_Buildings_Utilities_Math_Examples_VectorFunctions",fmuType="me",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.0024/0.0024, allocations: 72.73 kB / 1.186 GB, free: 13.79 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4411/0.4435, allocations: 181.9 MB / 1.363 GB, free: 14.12 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.VectorFunctions): time 0.0034/0.4469, allocations: 1.602 MB / 1.365 GB, free: 12.51 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001182/0.448, allocations: 0.5622 MB / 1.366 GB, free: 11.94 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.69e-05/0.4481, allocations: 3.938 kB / 1.366 GB, free: 11.94 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.00012/0.4483, allocations: 19.86 kB / 1.366 GB, free: 11.92 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 4.365e-05/0.4483, allocations: 11.81 kB / 1.366 GB, free: 11.91 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003311/0.4486, allocations: 59.86 kB / 1.366 GB, free: 11.85 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001769/0.4488, allocations: 87.7 kB / 1.366 GB, free: 11.76 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001519/0.449, allocations: 32.19 kB / 1.366 GB, free: 11.73 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001554/0.4491, allocations: 51.78 kB / 1.366 GB, free: 11.68 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 8.779e-05/0.4492, allocations: 35.83 kB / 1.366 GB, free: 11.64 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.966e-05/0.4492, allocations: 8 kB / 1.366 GB, free: 11.64 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 7.58e-05/0.4493, allocations: 19.98 kB / 1.366 GB, free: 11.62 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 4.861e-05/0.4493, allocations: 23.86 kB / 1.366 GB, free: 11.59 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 4.65e-05/0.4494, allocations: 35.8 kB / 1.366 GB, free: 11.56 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001842/0.4496, allocations: 87.64 kB / 1.366 GB, free: 11.47 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.4496, allocations: 4 kB / 1.366 GB, free: 11.47 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.783e-06/0.4496, allocations: 0 / 1.366 GB, free: 11.47 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.731e-06/0.4496, allocations: 0 / 1.366 GB, free: 11.47 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.000603/0.4502, allocations: 341.7 kB / 1.366 GB, free: 11.11 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.495e-05/0.4502, allocations: 12.03 kB / 1.366 GB, free: 11.09 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.828e-05/0.4503, allocations: 38.69 kB / 1.366 GB, free: 11.05 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003429/0.4506, allocations: 40.84 kB / 1.366 GB, free: 11.01 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003299/0.451, allocations: 146.9 kB / 1.367 GB, free: 10.84 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.591e-05/0.451, allocations: 4.375 kB / 1.367 GB, free: 10.84 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.933e-05/0.451, allocations: 15.92 kB / 1.367 GB, free: 10.82 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002768/0.4513, allocations: 97.64 kB / 1.367 GB, free: 10.72 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/0.4513, allocations: 4 kB / 1.367 GB, free: 10.71 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.48e-05/0.4513, allocations: 7.938 kB / 1.367 GB, free: 10.71 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.159e-06/0.4513, allocations: 0 / 1.367 GB, free: 10.71 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002555/0.4516, allocations: 99.86 kB / 1.367 GB, free: 10.61 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007211/0.4523, allocations: 343.6 kB / 1.367 GB, free: 10.23 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001601/0.4525, allocations: 58.55 kB / 1.367 GB, free: 10.16 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001433/0.4526, allocations: 44.95 kB / 1.367 GB, free: 10.12 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 5.076e-05/0.4527, allocations: 4 kB / 1.367 GB, free: 10.11 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.325e-05/0.4527, allocations: 30.56 kB / 1.367 GB, free: 10.07 MB / 1.061 GB Notification: Performance of pre-optimization done (n=6): time 1.353e-06/0.4527, allocations: 0 / 1.367 GB, free: 10.07 MB / 1.061 GB Notification: Performance of matching and sorting (n=6): time 0.0005305/0.4532, allocations: 177.6 kB / 1.367 GB, free: 9.895 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.131e-05/0.4533, allocations: 55.39 kB / 1.367 GB, free: 9.828 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001484/0.4534, allocations: 143.5 kB / 1.368 GB, free: 9.68 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.85e-05/0.4534, allocations: 25.7 kB / 1.368 GB, free: 9.648 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 8.809e-05/0.4535, allocations: 108.2 kB / 1.368 GB, free: 9.539 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.062e-05/0.4536, allocations: 15.86 kB / 1.368 GB, free: 9.523 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.751e-05/0.4536, allocations: 21.7 kB / 1.368 GB, free: 9.496 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001626/0.4538, allocations: 322.8 kB / 1.368 GB, free: 9.172 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001165/0.4539, allocations: 39.97 kB / 1.368 GB, free: 9.133 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001058/0.454, allocations: 39.97 kB / 1.368 GB, free: 9.094 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002331/0.4543, allocations: 84.81 kB / 1.368 GB, free: 9.008 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.43e-06/0.4543, allocations: 3.984 kB / 1.368 GB, free: 9.004 MB / 1.061 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003303/0.4546, allocations: 129.5 kB / 1.368 GB, free: 8.871 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.96e-05/0.4546, allocations: 14.5 kB / 1.368 GB, free: 8.859 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.4546, allocations: 3.938 kB / 1.368 GB, free: 8.855 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.668e-05/0.4546, allocations: 0 / 1.368 GB, free: 8.855 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00014/0.4548, allocations: 15.98 kB / 1.368 GB, free: 8.84 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.151e-05/0.4548, allocations: 3.984 kB / 1.368 GB, free: 8.836 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.548e-05/0.4549, allocations: 12 kB / 1.368 GB, free: 8.824 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.152e-05/0.4549, allocations: 0 / 1.368 GB, free: 8.824 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 0.0001318/0.455, allocations: 126.4 kB / 1.368 GB, free: 8.691 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.931e-05/0.4551, allocations: 15.84 kB / 1.368 GB, free: 8.676 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000372/0.4554, allocations: 146.3 kB / 1.369 GB, free: 8.52 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/0.4554, allocations: 4 kB / 1.369 GB, free: 8.516 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.107e-06/0.4554, allocations: 0 / 1.369 GB, free: 8.516 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.4554, allocations: 0 / 1.369 GB, free: 8.516 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002421/0.4557, allocations: 165 kB / 1.369 GB, free: 8.312 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.4557, allocations: 0 / 1.369 GB, free: 8.312 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001084/0.4558, allocations: 31.91 kB / 1.369 GB, free: 8.281 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.4558, allocations: 0 / 1.369 GB, free: 8.281 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.099e-05/0.4558, allocations: 4 kB / 1.369 GB, free: 8.277 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.4558, allocations: 0 / 1.369 GB, free: 8.277 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.4558, allocations: 0 / 1.369 GB, free: 8.277 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00036/0.4562, allocations: 231.3 kB / 1.369 GB, free: 8.035 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.898e-05/0.4562, allocations: 11.89 kB / 1.369 GB, free: 8.023 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.1e-05/0.4562, allocations: 0 / 1.369 GB, free: 8.023 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001058/0.4563, allocations: 7.984 kB / 1.369 GB, free: 8.016 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.588e-05/0.4564, allocations: 11.98 kB / 1.369 GB, free: 8.004 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.538e-06/0.4564, allocations: 0 / 1.369 GB, free: 8.004 MB / 1.061 GB Notification: Performance of sorting global known variables: time 7.829e-05/0.4565, allocations: 113.3 kB / 1.369 GB, free: 7.895 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.4565, allocations: 0 / 1.369 GB, free: 7.895 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002483/0.4567, allocations: 19.94 kB / 1.369 GB, free: 7.875 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.0007152/0.4574, allocations: 0.763 MB / 1.37 GB, free: 7.086 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002956/0.4577, allocations: 91.94 kB / 1.37 GB, free: 6.996 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.4577, allocations: 8 kB / 1.37 GB, free: 6.988 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001197/0.4579, allocations: 43.97 kB / 1.37 GB, free: 6.945 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002405/0.4581, allocations: 11.98 kB / 1.37 GB, free: 6.934 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002356/0.4605, allocations: 1.638 MB / 1.372 GB, free: 5.223 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001353/0.4606, allocations: 96.17 kB / 1.372 GB, free: 5.109 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 8.72e-05/0.4607, allocations: 12.42 kB / 1.372 GB, free: 5.098 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.188e-05/0.4607, allocations: 23.42 kB / 1.372 GB, free: 5.074 MB / 1.061 GB Notification: Performance of SimCode: time 9.22e-07/0.4607, allocations: 4 kB / 1.372 GB, free: 5.07 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03102/0.4918, allocations: 2.61 MB / 1.374 GB, free: 2.594 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.32/11.82, allocations: 18.98 kB / 1.374 GB, free: 2.578 MB / 1.061 GB " [Timeout remaining time 288] (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: 19.174139196053147]