Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.00184/0.00184, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.002287/0.002287, allocations: 217.1 kB / 22.25 MB, free: 5.254 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.52/1.52, allocations: 230.6 MB / 256 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.294/3.294, allocations: 0.49 GB / 0.7951 GB, free: 35.47 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_Buildings_Utilities_Math_Examples_VectorFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.VectorFunctions,fileNamePrefix="Buildings_12_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.002016/0.002016, allocations: 68.28 kB / 1.154 GB, free: 25.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4201/0.4222, allocations: 176.1 MB / 1.326 GB, free: 1.434 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.VectorFunctions): time 0.004539/0.4267, allocations: 1.601 MB / 1.327 GB, free: 15.83 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001629/0.4283, allocations: 0.5651 MB / 1.328 GB, free: 15.26 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001471/0.4285, allocations: 3.938 kB / 1.328 GB, free: 15.25 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001404/0.4286, allocations: 15.86 kB / 1.328 GB, free: 15.24 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 5.122e-05/0.4287, allocations: 11.88 kB / 1.328 GB, free: 15.23 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003889/0.4291, allocations: 63.84 kB / 1.328 GB, free: 15.16 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002604/0.4293, allocations: 95.62 kB / 1.328 GB, free: 15.07 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001803/0.4295, allocations: 32.14 kB / 1.328 GB, free: 15.04 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000182/0.4297, allocations: 47.84 kB / 1.328 GB, free: 14.99 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001005/0.4298, allocations: 39.84 kB / 1.328 GB, free: 14.95 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.951e-05/0.4298, allocations: 8 kB / 1.328 GB, free: 14.95 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001/0.4299, allocations: 23.98 kB / 1.328 GB, free: 14.92 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 6.001e-05/0.43, allocations: 19.92 kB / 1.328 GB, free: 14.9 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 6.468e-05/0.43, allocations: 35.8 kB / 1.328 GB, free: 14.87 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002344/0.4303, allocations: 99.5 kB / 1.328 GB, free: 14.77 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.68e-06/0.4303, allocations: 0 / 1.328 GB, free: 14.77 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.555e-06/0.4303, allocations: 0 / 1.328 GB, free: 14.77 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.069e-05/0.4303, allocations: 0 / 1.328 GB, free: 14.77 MB / 1.029 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.0007122/0.431, allocations: 337.8 kB / 1.329 GB, free: 14.41 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.505e-05/0.431, allocations: 12.03 kB / 1.329 GB, free: 14.4 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.612e-05/0.4311, allocations: 42.67 kB / 1.329 GB, free: 14.35 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003931/0.4315, allocations: 44.81 kB / 1.329 GB, free: 14.3 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004222/0.4319, allocations: 150.8 kB / 1.329 GB, free: 14.13 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.393e-05/0.4319, allocations: 8.375 kB / 1.329 GB, free: 14.12 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.951e-05/0.432, allocations: 7.938 kB / 1.329 GB, free: 14.12 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000328/0.4323, allocations: 112 kB / 1.329 GB, free: 14 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.41e-05/0.4323, allocations: 0 / 1.329 GB, free: 14 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.674e-05/0.4323, allocations: 4 kB / 1.329 GB, free: 14 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.4323, allocations: 0 / 1.329 GB, free: 14 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002516/0.4326, allocations: 95.94 kB / 1.329 GB, free: 13.91 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007613/0.4334, allocations: 331.7 kB / 1.33 GB, free: 13.54 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001551/0.4335, allocations: 58.55 kB / 1.33 GB, free: 13.47 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001149/0.4336, allocations: 48.95 kB / 1.33 GB, free: 13.42 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 4.467e-05/0.4337, allocations: 7.938 kB / 1.33 GB, free: 13.41 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.826e-05/0.4337, allocations: 30.56 kB / 1.33 GB, free: 13.38 MB / 1.029 GB Notification: Performance of pre-optimization done (n=6): time 1.192e-06/0.4337, allocations: 0 / 1.33 GB, free: 13.38 MB / 1.029 GB Notification: Performance of matching and sorting (n=6): time 0.0004783/0.4342, allocations: 173.5 kB / 1.33 GB, free: 13.2 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.518e-05/0.4342, allocations: 51.41 kB / 1.33 GB, free: 13.14 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000149/0.4344, allocations: 140.3 kB / 1.33 GB, free: 12.99 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.676e-05/0.4344, allocations: 29.7 kB / 1.33 GB, free: 12.96 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.835e-05/0.4345, allocations: 108.1 kB / 1.33 GB, free: 12.85 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.664e-05/0.4345, allocations: 19.89 kB / 1.33 GB, free: 12.83 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.714e-05/0.4346, allocations: 17.72 kB / 1.33 GB, free: 12.8 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000147/0.4347, allocations: 322.8 kB / 1.331 GB, free: 12.48 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001161/0.4348, allocations: 35.97 kB / 1.331 GB, free: 12.45 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001167/0.4349, allocations: 47.91 kB / 1.331 GB, free: 12.4 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002309/0.4352, allocations: 88.8 kB / 1.331 GB, free: 12.31 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.4352, allocations: 0 / 1.331 GB, free: 12.31 MB / 1.029 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003157/0.4355, allocations: 133.4 kB / 1.331 GB, free: 12.17 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.836e-05/0.4355, allocations: 4 kB / 1.331 GB, free: 12.17 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.606e-06/0.4355, allocations: 4 kB / 1.331 GB, free: 12.16 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.598e-05/0.4355, allocations: 7.984 kB / 1.331 GB, free: 12.16 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001417/0.4357, allocations: 16.42 kB / 1.331 GB, free: 12.14 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.033e-06/0.4357, allocations: 3.938 kB / 1.331 GB, free: 12.14 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.274e-05/0.4358, allocations: 7.938 kB / 1.331 GB, free: 12.13 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.581e-05/0.4358, allocations: 15.98 kB / 1.331 GB, free: 12.11 MB / 1.029 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.0001225/0.4359, allocations: 122.3 kB / 1.331 GB, free: 11.98 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.438e-05/0.436, allocations: 11.89 kB / 1.331 GB, free: 11.97 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003919/0.4364, allocations: 142.3 kB / 1.331 GB, free: 11.82 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.437e-06/0.4364, allocations: 0 / 1.331 GB, free: 11.82 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.073e-06/0.4364, allocations: 4 kB / 1.331 GB, free: 11.82 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.4364, allocations: 0 / 1.331 GB, free: 11.82 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002311/0.4366, allocations: 172.7 kB / 1.331 GB, free: 11.61 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.4366, allocations: 0 / 1.331 GB, free: 11.61 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001179/0.4367, allocations: 23.86 kB / 1.331 GB, free: 11.58 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.825e-06/0.4367, allocations: 4 kB / 1.331 GB, free: 11.58 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.126e-05/0.4367, allocations: 0 / 1.331 GB, free: 11.58 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.295e-06/0.4367, allocations: 0 / 1.331 GB, free: 11.58 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.4367, allocations: 0 / 1.331 GB, free: 11.58 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003729/0.4371, allocations: 231.4 kB / 1.332 GB, free: 11.34 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.085e-05/0.4371, allocations: 7.891 kB / 1.332 GB, free: 11.33 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.186e-05/0.4372, allocations: 7.984 kB / 1.332 GB, free: 11.32 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.785e-05/0.4373, allocations: 4 kB / 1.332 GB, free: 11.32 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.086e-05/0.4373, allocations: 7.984 kB / 1.332 GB, free: 11.31 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.027e-05/0.4373, allocations: 0 / 1.332 GB, free: 11.31 MB / 1.029 GB Notification: Performance of sorting global known variables: time 9.535e-05/0.4374, allocations: 108.9 kB / 1.332 GB, free: 11.2 MB / 1.029 GB Notification: Performance of sort global known variables: time 6e-08/0.4374, allocations: 0 / 1.332 GB, free: 11.2 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002501/0.4377, allocations: 24 kB / 1.332 GB, free: 11.18 MB / 1.029 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.0007534/0.4384, allocations: 0.767 MB / 1.332 GB, free: 10.39 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003157/0.4387, allocations: 96 kB / 1.333 GB, free: 10.29 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.4387, allocations: 3.938 kB / 1.333 GB, free: 10.29 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001253/0.4389, allocations: 51.95 kB / 1.333 GB, free: 10.24 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002482/0.4391, allocations: 9.875 kB / 1.333 GB, free: 10.23 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002035/0.4411, allocations: 1.625 MB / 1.334 GB, free: 8.523 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001/0.4412, allocations: 96.17 kB / 1.334 GB, free: 8.41 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 8.299e-05/0.4413, allocations: 19.86 kB / 1.334 GB, free: 8.391 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.774e-05/0.4414, allocations: 31.42 kB / 1.334 GB, free: 8.359 MB / 1.029 GB Notification: Performance of SimCode: time 9.22e-07/0.4414, allocations: 0 / 1.334 GB, free: 8.359 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02917/0.4706, allocations: 2.638 MB / 1.337 GB, free: 5.855 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.92/11.39, allocations: 1.875 kB / 1.337 GB, free: 5.855 MB / 1.029 GB " [Timeout remaining time 289] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.VectorFunctions.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.VectorFunctions.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.VectorFunctions.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.VectorFunctions.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Utilities.Math.Examples.VectorFunctions_res.mat --tempDir=temp_Buildings_12_Buildings_Utilities_Math_Examples_VectorFunctions_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Utilities_Math_Examples_VectorFunctions.fmu > Buildings_12_Buildings.Utilities.Math.Examples.VectorFunctions.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.VectorFunctions_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_VectorFunctions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 18.494264031993225]