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.001605/0.001605, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.001971/0.001971, allocations: 220.7 kB / 23.03 MB, free: 4.941 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.549/1.549, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.498/3.498, allocations: 0.49 GB / 0.7959 GB, free: 35.58 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.VectorFunctions,fileNamePrefix="Buildings_12_Buildings_Utilities_Math_Examples_VectorFunctions",fmuType="cs",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.002043/0.002043, allocations: 64.31 kB / 1.155 GB, free: 25.42 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4019/0.4039, allocations: 176.1 MB / 1.327 GB, free: 1.484 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.VectorFunctions): time 0.004363/0.4083, allocations: 1.601 MB / 1.328 GB, free: 15.88 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001343/0.4096, allocations: 0.5573 MB / 1.329 GB, free: 15.32 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001149/0.4097, allocations: 7.938 kB / 1.329 GB, free: 15.31 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001489/0.4099, allocations: 11.86 kB / 1.329 GB, free: 15.3 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 5.576e-05/0.4099, allocations: 15.8 kB / 1.329 GB, free: 15.28 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003922/0.4103, allocations: 71.86 kB / 1.329 GB, free: 15.21 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001924/0.4105, allocations: 83.7 kB / 1.329 GB, free: 15.13 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001852/0.4107, allocations: 32.2 kB / 1.329 GB, free: 15.1 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001994/0.4109, allocations: 47.83 kB / 1.329 GB, free: 15.05 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001151/0.411, allocations: 47.72 kB / 1.329 GB, free: 15 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.362e-05/0.4111, allocations: 4 kB / 1.329 GB, free: 15 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001011/0.4112, allocations: 23.98 kB / 1.329 GB, free: 14.98 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 6.589e-05/0.4112, allocations: 27.91 kB / 1.329 GB, free: 14.95 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 6.287e-05/0.4113, allocations: 27.8 kB / 1.329 GB, free: 14.92 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002581/0.4115, allocations: 91.64 kB / 1.329 GB, free: 14.83 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 7.244e-06/0.4116, allocations: 4 kB / 1.329 GB, free: 14.83 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.494e-06/0.4116, allocations: 4 kB / 1.329 GB, free: 14.82 MB / 1.029 GB Notification: Performance of Transformations before backend: time 9.858e-06/0.4116, allocations: 0 / 1.329 GB, free: 14.82 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.0007523/0.4123, allocations: 337.7 kB / 1.33 GB, free: 14.46 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.761e-05/0.4124, allocations: 8.031 kB / 1.33 GB, free: 14.46 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.373e-05/0.4124, allocations: 4.188 kB / 1.33 GB, free: 14.45 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.771e-05/0.4125, allocations: 38.75 kB / 1.33 GB, free: 14.41 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004116/0.4129, allocations: 44.8 kB / 1.33 GB, free: 14.36 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003654/0.4132, allocations: 148.5 kB / 1.33 GB, free: 14.2 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.611e-05/0.4132, allocations: 16.11 kB / 1.33 GB, free: 14.18 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.298e-05/0.4133, allocations: 4 kB / 1.33 GB, free: 14.18 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002965/0.4136, allocations: 101.6 kB / 1.33 GB, free: 14.07 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/0.4136, allocations: 0 / 1.33 GB, free: 14.07 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.746e-05/0.4136, allocations: 4 kB / 1.33 GB, free: 14.07 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.4136, allocations: 0 / 1.33 GB, free: 14.07 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002649/0.4139, allocations: 111.8 kB / 1.33 GB, free: 13.96 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000672/0.4145, allocations: 327.8 kB / 1.33 GB, free: 13.59 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001635/0.4147, allocations: 58.48 kB / 1.33 GB, free: 13.53 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001342/0.4148, allocations: 48.95 kB / 1.33 GB, free: 13.48 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 4.331e-05/0.4149, allocations: 4 kB / 1.33 GB, free: 13.47 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.96e-05/0.4149, allocations: 30.56 kB / 1.33 GB, free: 13.43 MB / 1.029 GB Notification: Performance of pre-optimization done (n=6): time 1.432e-06/0.4149, allocations: 4 kB / 1.33 GB, free: 13.43 MB / 1.029 GB Notification: Performance of matching and sorting (n=6): time 0.0005712/0.4155, allocations: 169.5 kB / 1.331 GB, free: 13.26 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.979e-05/0.4155, allocations: 51.41 kB / 1.331 GB, free: 13.2 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001461/0.4157, allocations: 143.6 kB / 1.331 GB, free: 13.05 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.44e-05/0.4157, allocations: 25.7 kB / 1.331 GB, free: 13.02 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.714e-05/0.4158, allocations: 112.1 kB / 1.331 GB, free: 12.9 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.532e-05/0.4158, allocations: 19.89 kB / 1.331 GB, free: 12.88 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.957e-05/0.4159, allocations: 25.7 kB / 1.331 GB, free: 12.85 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001531/0.416, allocations: 326.8 kB / 1.331 GB, free: 12.52 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001144/0.4161, allocations: 35.97 kB / 1.331 GB, free: 12.49 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001024/0.4162, allocations: 39.97 kB / 1.331 GB, free: 12.45 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002188/0.4165, allocations: 88.8 kB / 1.331 GB, free: 12.36 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.4165, allocations: 0 / 1.331 GB, free: 12.36 MB / 1.029 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003085/0.4168, allocations: 133.5 kB / 1.332 GB, free: 12.22 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.937e-05/0.4168, allocations: 4 kB / 1.332 GB, free: 12.22 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.924e-06/0.4168, allocations: 4.438 kB / 1.332 GB, free: 12.21 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.794e-05/0.4168, allocations: 3.938 kB / 1.332 GB, free: 12.21 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001454/0.417, allocations: 15.98 kB / 1.332 GB, free: 12.2 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.337e-06/0.417, allocations: 3.984 kB / 1.332 GB, free: 12.19 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.523e-05/0.417, allocations: 11.94 kB / 1.332 GB, free: 12.18 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.414e-05/0.4171, allocations: 4 kB / 1.332 GB, free: 12.18 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.0001266/0.4172, allocations: 130.4 kB / 1.332 GB, free: 12.04 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.154e-05/0.4172, allocations: 11.89 kB / 1.332 GB, free: 12.03 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003845/0.4176, allocations: 138.3 kB / 1.332 GB, free: 11.88 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/0.4176, allocations: 4 kB / 1.332 GB, free: 11.88 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.309e-06/0.4176, allocations: 0 / 1.332 GB, free: 11.88 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.913e-06/0.4176, allocations: 3.984 kB / 1.332 GB, free: 11.87 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00023/0.4179, allocations: 164.7 kB / 1.332 GB, free: 11.67 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.428e-06/0.4179, allocations: 3.938 kB / 1.332 GB, free: 11.66 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001089/0.418, allocations: 23.97 kB / 1.332 GB, free: 11.64 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.047e-06/0.418, allocations: 4 kB / 1.332 GB, free: 11.64 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.008e-05/0.418, allocations: 0 / 1.332 GB, free: 11.64 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.418, allocations: 0 / 1.332 GB, free: 11.64 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.418, allocations: 0 / 1.332 GB, free: 11.64 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003459/0.4183, allocations: 223.4 kB / 1.332 GB, free: 11.4 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.551e-05/0.4184, allocations: 15.89 kB / 1.332 GB, free: 11.39 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.112e-05/0.4184, allocations: 3.938 kB / 1.332 GB, free: 11.38 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001029/0.4185, allocations: 15.92 kB / 1.332 GB, free: 11.37 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.401e-05/0.4186, allocations: 7.984 kB / 1.332 GB, free: 11.36 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.241e-05/0.4186, allocations: 3.984 kB / 1.332 GB, free: 11.36 MB / 1.029 GB Notification: Performance of sorting global known variables: time 8.884e-05/0.4187, allocations: 108.8 kB / 1.332 GB, free: 11.25 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.4187, allocations: 0 / 1.332 GB, free: 11.25 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002588/0.4189, allocations: 23.94 kB / 1.332 GB, free: 11.23 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.000713/0.4196, allocations: 0.7671 MB / 1.333 GB, free: 10.43 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002971/0.4199, allocations: 99.88 kB / 1.333 GB, free: 10.34 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.4199, allocations: 0 / 1.333 GB, free: 10.34 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001219/0.42, allocations: 43.97 kB / 1.333 GB, free: 10.29 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002342/0.4203, allocations: 11.98 kB / 1.333 GB, free: 10.28 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0021/0.4224, allocations: 1.638 MB / 1.335 GB, free: 8.562 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.58e-05/0.4225, allocations: 84.19 kB / 1.335 GB, free: 8.461 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 7.805e-05/0.4226, allocations: 11.98 kB / 1.335 GB, free: 8.449 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.672e-05/0.4226, allocations: 31.42 kB / 1.335 GB, free: 8.418 MB / 1.029 GB Notification: Performance of SimCode: time 6.21e-07/0.4226, allocations: 0 / 1.335 GB, free: 8.418 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02421/0.4468, allocations: 2.273 MB / 1.337 GB, free: 6.293 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.54/11.98, allocations: 12.86 kB / 1.337 GB, free: 6.285 MB / 1.029 GB " [Timeout remaining time 288] (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: 19.38359594193753]