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.001623/0.001623, allocations: 114.8 kB / 17.16 MB, free: 5.895 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.002215/0.002215, allocations: 210.2 kB / 20.13 MB, free: 2.949 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.565/1.565, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.065/3.065, allocations: 0.49 GB / 0.7923 GB, free: 1.348 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.002054/0.002054, allocations: 63.91 kB / 1.15 GB, free: 15.37 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.245/1.247, allocations: 176.1 MB / 1.321 GB, free: 24.85 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.VectorFunctions): time 0.002416/1.249, allocations: 1.629 MB / 1.323 GB, free: 23.71 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0008422/1.25, allocations: 0.5942 MB / 1.324 GB, free: 23.3 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.962e-05/1.25, allocations: 3.938 kB / 1.324 GB, free: 23.3 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001152/1.25, allocations: 18.09 kB / 1.324 GB, free: 23.29 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 3.028e-05/1.25, allocations: 11.81 kB / 1.324 GB, free: 23.28 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002705/1.251, allocations: 65.83 kB / 1.324 GB, free: 23.24 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001279/1.251, allocations: 93.72 kB / 1.324 GB, free: 23.2 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001575/1.251, allocations: 32.78 kB / 1.324 GB, free: 23.18 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001323/1.251, allocations: 45.47 kB / 1.324 GB, free: 23.16 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 7.979e-05/1.251, allocations: 42.8 kB / 1.324 GB, free: 23.14 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.848e-05/1.251, allocations: 5.469 kB / 1.324 GB, free: 23.14 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 7.385e-05/1.251, allocations: 20.98 kB / 1.324 GB, free: 23.14 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 4.029e-05/1.251, allocations: 20.83 kB / 1.324 GB, free: 23.13 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 4.364e-05/1.251, allocations: 43.05 kB / 1.324 GB, free: 23.1 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001611/1.251, allocations: 103.1 kB / 1.324 GB, free: 23.05 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/1.251, allocations: 0 / 1.324 GB, free: 23.05 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.264e-06/1.251, allocations: 0 / 1.324 GB, free: 23.05 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.653e-06/1.251, allocations: 0 / 1.324 GB, free: 23.05 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.0005031/1.252, allocations: 414 kB / 1.325 GB, free: 22.64 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.927e-05/1.252, allocations: 18.2 kB / 1.325 GB, free: 22.64 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.785e-05/1.252, allocations: 2.781 kB / 1.325 GB, free: 22.64 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.869e-05/1.252, allocations: 44.64 kB / 1.325 GB, free: 22.59 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002971/1.252, allocations: 36.73 kB / 1.325 GB, free: 22.58 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001946/1.252, allocations: 207.8 kB / 1.325 GB, free: 22.37 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.465e-05/1.253, allocations: 10.94 kB / 1.325 GB, free: 22.36 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.425e-05/1.253, allocations: 9.656 kB / 1.325 GB, free: 22.36 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002531/1.253, allocations: 103.3 kB / 1.325 GB, free: 22.3 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/1.253, allocations: 4 kB / 1.325 GB, free: 22.3 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.23e-05/1.253, allocations: 4 kB / 1.325 GB, free: 22.3 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-06/1.253, allocations: 2.719 kB / 1.325 GB, free: 22.3 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002134/1.253, allocations: 102.1 kB / 1.325 GB, free: 22.28 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000517/1.254, allocations: 377 kB / 1.325 GB, free: 21.96 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001388/1.254, allocations: 61.89 kB / 1.325 GB, free: 21.93 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001067/1.254, allocations: 49.92 kB / 1.326 GB, free: 21.91 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 4.018e-05/1.254, allocations: 2.781 kB / 1.326 GB, free: 21.91 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.963e-05/1.254, allocations: 34.55 kB / 1.326 GB, free: 21.86 MB / 1.061 GB Notification: Performance of pre-optimization done (n=6): time 1.042e-06/1.254, allocations: 0 / 1.326 GB, free: 21.86 MB / 1.061 GB Notification: Performance of matching and sorting (n=6): time 0.0004433/1.254, allocations: 175.9 kB / 1.326 GB, free: 21.79 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.972e-05/1.254, allocations: 55.34 kB / 1.326 GB, free: 21.72 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.532e-05/1.254, allocations: 140.9 kB / 1.326 GB, free: 21.61 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.396e-05/1.254, allocations: 29.7 kB / 1.326 GB, free: 21.58 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 4.281e-05/1.254, allocations: 102.5 kB / 1.326 GB, free: 21.48 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.396e-05/1.254, allocations: 19.09 kB / 1.326 GB, free: 21.46 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.168e-05/1.255, allocations: 26.95 kB / 1.326 GB, free: 21.44 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.854e-05/1.255, allocations: 320.8 kB / 1.326 GB, free: 21.12 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001068/1.255, allocations: 37.55 kB / 1.326 GB, free: 21.12 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.608e-05/1.255, allocations: 40.83 kB / 1.326 GB, free: 21.11 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00021/1.255, allocations: 86.81 kB / 1.327 GB, free: 21.08 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/1.255, allocations: 4 kB / 1.327 GB, free: 21.08 MB / 1.061 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002492/1.255, allocations: 131.3 kB / 1.327 GB, free: 21.02 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/1.255, allocations: 5.594 kB / 1.327 GB, free: 21.02 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/1.255, allocations: 0 / 1.327 GB, free: 21.02 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.67e-05/1.255, allocations: 3.938 kB / 1.327 GB, free: 21.01 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001336/1.255, allocations: 20.98 kB / 1.327 GB, free: 21.01 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/1.255, allocations: 0 / 1.327 GB, free: 21.01 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.907e-05/1.255, allocations: 9.5 kB / 1.327 GB, free: 21.01 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.219e-05/1.256, allocations: 10.97 kB / 1.327 GB, free: 21 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 6.782e-05/1.256, allocations: 123 kB / 1.327 GB, free: 20.88 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.129e-05/1.256, allocations: 10.95 kB / 1.327 GB, free: 20.88 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003207/1.256, allocations: 147.5 kB / 1.327 GB, free: 20.8 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/1.256, allocations: 4.5 kB / 1.327 GB, free: 20.8 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/1.256, allocations: 1.188 kB / 1.327 GB, free: 20.8 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/1.256, allocations: 4 kB / 1.327 GB, free: 20.79 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001856/1.256, allocations: 211.5 kB / 1.327 GB, free: 20.58 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/1.256, allocations: 3.938 kB / 1.327 GB, free: 20.58 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001086/1.256, allocations: 15.88 kB / 1.327 GB, free: 20.58 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.562e-06/1.256, allocations: 1.062 kB / 1.327 GB, free: 20.58 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.313e-05/1.256, allocations: 4.359 kB / 1.327 GB, free: 20.58 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/1.256, allocations: 0.9375 kB / 1.327 GB, free: 20.58 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/1.256, allocations: 0 / 1.327 GB, free: 20.58 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000359/1.257, allocations: 226.3 kB / 1.327 GB, free: 20.41 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.449e-05/1.257, allocations: 94.64 kB / 1.328 GB, free: 20.31 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.042e-05/1.257, allocations: 1.938 kB / 1.328 GB, free: 20.31 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001015/1.257, allocations: 4.219 kB / 1.328 GB, free: 20.31 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.403e-05/1.257, allocations: 10.02 kB / 1.328 GB, free: 20.3 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.305e-05/1.257, allocations: 6.016 kB / 1.328 GB, free: 20.3 MB / 1.061 GB Notification: Performance of sorting global known variables: time 6.292e-05/1.257, allocations: 105.4 kB / 1.328 GB, free: 20.22 MB / 1.061 GB Notification: Performance of sort global known variables: time 8.1e-08/1.257, allocations: 4 kB / 1.328 GB, free: 20.22 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.000245/1.257, allocations: 13.81 kB / 1.328 GB, free: 20.22 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.0005642/1.258, allocations: 0.7629 MB / 1.328 GB, free: 19.54 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0003182/1.258, allocations: 110.2 kB / 1.329 GB, free: 19.5 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/1.258, allocations: 0 / 1.329 GB, free: 19.5 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001355/1.258, allocations: 45.41 kB / 1.329 GB, free: 19.5 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002216/1.258, allocations: 8.312 kB / 1.329 GB, free: 19.49 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001745/1.26, allocations: 1.644 MB / 1.33 GB, free: 18.17 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001944/1.26, allocations: 0.6991 MB / 1.331 GB, free: 17.47 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 7.712e-05/1.26, allocations: 13.38 kB / 1.331 GB, free: 17.47 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.962e-05/1.26, allocations: 26.58 kB / 1.331 GB, free: 17.46 MB / 1.061 GB Notification: Performance of SimCode: time 2.71e-07/1.26, allocations: 0 / 1.331 GB, free: 17.46 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0211/1.282, allocations: 2.142 MB / 1.333 GB, free: 16.99 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.458/10.74, allocations: 11.28 kB / 1.333 GB, free: 16.98 MB / 1.061 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: 17.84464756003581]