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.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.001401/0.001401, allocations: 105.8 kB / 18.84 MB, free: 3.023 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.001549/0.001549, allocations: 188.7 kB / 22.1 MB, free: 4.223 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.516/1.516, allocations: 225.6 MB / 250.8 MB, free: 2.891 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 2.932/2.932, allocations: 495.8 MB / 0.7831 GB, free: 12.23 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.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: translateModel(Buildings.Utilities.Math.Examples.VectorFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sine.y|sine1.y|sine2.y|minVec.y|maxVec.y|aveVec.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.VectorFunctions") translateModel(Buildings.Utilities.Math.Examples.VectorFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sine.y|sine1.y|sine2.y|minVec.y|maxVec.y|aveVec.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.VectorFunctions") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002106/0.002106, allocations: 71.89 kB / 1.137 GB, free: 12.14 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.038/1.04, allocations: 173.6 MB / 1.307 GB, free: 33.75 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.VectorFunctions): time 0.002604/1.043, allocations: 1.609 MB / 1.308 GB, free: 32.63 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0007902/1.044, allocations: 0.5159 MB / 1.309 GB, free: 32.27 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.747e-05/1.044, allocations: 2.844 kB / 1.309 GB, free: 32.27 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.000111/1.044, allocations: 14.92 kB / 1.309 GB, free: 32.26 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 3.131e-05/1.044, allocations: 14.7 kB / 1.309 GB, free: 32.25 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002607/1.044, allocations: 37.83 kB / 1.309 GB, free: 32.23 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001306/1.044, allocations: 84.08 kB / 1.309 GB, free: 32.19 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001731/1.044, allocations: 31.3 kB / 1.309 GB, free: 32.18 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000113/1.045, allocations: 45.78 kB / 1.309 GB, free: 32.15 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 8.366e-05/1.045, allocations: 38.27 kB / 1.309 GB, free: 32.13 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.022e-05/1.045, allocations: 5.625 kB / 1.309 GB, free: 32.13 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 6.886e-05/1.045, allocations: 18.47 kB / 1.309 GB, free: 32.13 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 4.376e-05/1.045, allocations: 25.67 kB / 1.309 GB, free: 32.11 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 4.455e-05/1.045, allocations: 39.45 kB / 1.309 GB, free: 32.09 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001482/1.045, allocations: 87.81 kB / 1.309 GB, free: 32.05 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/1.045, allocations: 0 / 1.309 GB, free: 32.05 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.573e-06/1.045, allocations: 4 kB / 1.309 GB, free: 32.05 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.971e-06/1.045, allocations: 0 / 1.309 GB, free: 32.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.0004778/1.045, allocations: 327.9 kB / 1.31 GB, free: 31.75 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.292e-05/1.045, allocations: 12.97 kB / 1.31 GB, free: 31.75 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.275e-05/1.046, allocations: 14.41 kB / 1.31 GB, free: 31.74 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001458/1.046, allocations: 142.8 kB / 1.31 GB, free: 31.59 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.22e-05/1.046, allocations: 3.031 kB / 1.31 GB, free: 31.59 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.617e-05/1.046, allocations: 7.188 kB / 1.31 GB, free: 31.59 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002516/1.046, allocations: 112 kB / 1.31 GB, free: 31.53 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.708e-06/1.046, allocations: 0 / 1.31 GB, free: 31.53 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.345e-05/1.046, allocations: 6.531 kB / 1.31 GB, free: 31.53 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/1.046, allocations: 0 / 1.31 GB, free: 31.53 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002141/1.046, allocations: 96.11 kB / 1.31 GB, free: 31.51 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005153/1.047, allocations: 350.1 kB / 1.31 GB, free: 31.23 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001393/1.047, allocations: 61.09 kB / 1.31 GB, free: 31.19 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001056/1.047, allocations: 46.41 kB / 1.31 GB, free: 31.17 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.852e-05/1.047, allocations: 3.188 kB / 1.31 GB, free: 31.17 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.744e-05/1.047, allocations: 30.56 kB / 1.31 GB, free: 31.13 MB / 1.061 GB Notification: Performance of pre-optimization done (n=6): time 1.172e-06/1.047, allocations: 4 kB / 1.31 GB, free: 31.13 MB / 1.061 GB Notification: Performance of matching and sorting (n=6): time 0.0005253/1.048, allocations: 162.4 kB / 1.311 GB, free: 31.07 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.145e-05/1.048, allocations: 54 kB / 1.311 GB, free: 31 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.294e-05/1.048, allocations: 137 kB / 1.311 GB, free: 30.89 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.228e-05/1.048, allocations: 25.7 kB / 1.311 GB, free: 30.86 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 4.008e-05/1.048, allocations: 104.6 kB / 1.311 GB, free: 30.76 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.52e-05/1.048, allocations: 30.52 kB / 1.311 GB, free: 30.73 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.856e-05/1.048, allocations: 22.58 kB / 1.311 GB, free: 30.71 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 5.083e-05/1.048, allocations: 320.6 kB / 1.311 GB, free: 30.4 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001205/1.048, allocations: 36.69 kB / 1.311 GB, free: 30.39 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.477e-05/1.048, allocations: 44.88 kB / 1.311 GB, free: 30.38 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002043/1.048, allocations: 91.48 kB / 1.311 GB, free: 30.35 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/1.048, allocations: 0 / 1.311 GB, free: 30.35 MB / 1.061 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002449/1.048, allocations: 122.7 kB / 1.312 GB, free: 30.29 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.328e-05/1.048, allocations: 3.062 kB / 1.312 GB, free: 30.29 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/1.048, allocations: 3.141 kB / 1.312 GB, free: 30.29 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.765e-05/1.049, allocations: 2.094 kB / 1.312 GB, free: 30.29 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001371/1.049, allocations: 22.95 kB / 1.312 GB, free: 30.29 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/1.049, allocations: 6.812 kB / 1.312 GB, free: 30.28 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.898e-05/1.049, allocations: 9.781 kB / 1.312 GB, free: 30.27 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.352e-05/1.049, allocations: 10.97 kB / 1.312 GB, free: 30.27 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.364e-05/1.049, allocations: 122.5 kB / 1.312 GB, free: 30.14 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.19e-05/1.049, allocations: 9.797 kB / 1.312 GB, free: 30.14 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000327/1.049, allocations: 137.3 kB / 1.312 GB, free: 30.08 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/1.049, allocations: 3.938 kB / 1.312 GB, free: 30.07 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/1.049, allocations: 4 kB / 1.312 GB, free: 30.07 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/1.049, allocations: 0 / 1.312 GB, free: 30.07 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001544/1.049, allocations: 183.6 kB / 1.312 GB, free: 29.89 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/1.049, allocations: 3.438 kB / 1.312 GB, free: 29.89 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.905e-05/1.049, allocations: 15.05 kB / 1.312 GB, free: 29.89 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/1.049, allocations: 6.875 kB / 1.312 GB, free: 29.89 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.087e-05/1.049, allocations: 0 / 1.312 GB, free: 29.89 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.996e-06/1.049, allocations: 7.312 kB / 1.312 GB, free: 29.88 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/1.049, allocations: 0 / 1.312 GB, free: 29.88 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002983/1.05, allocations: 225.6 kB / 1.312 GB, free: 29.72 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.894e-05/1.05, allocations: 14.72 kB / 1.312 GB, free: 29.71 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.759e-05/1.05, allocations: 0 / 1.312 GB, free: 29.71 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001329/1.05, allocations: 10.22 kB / 1.312 GB, free: 29.71 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.952e-05/1.05, allocations: 14.28 kB / 1.312 GB, free: 29.7 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.116e-05/1.05, allocations: 10.12 kB / 1.312 GB, free: 29.7 MB / 1.061 GB Notification: Performance of sorting global known variables: time 4.279e-05/1.05, allocations: 102.4 kB / 1.312 GB, free: 29.61 MB / 1.061 GB Notification: Performance of sort global known variables: time 8.1e-08/1.05, allocations: 0 / 1.312 GB, free: 29.61 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002358/1.05, allocations: 17.31 kB / 1.312 GB, free: 29.61 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.0001252/1.05, allocations: 97.12 kB / 1.313 GB, free: 29.52 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002716/1.051, allocations: 94.45 kB / 1.313 GB, free: 29.51 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/1.051, allocations: 0 / 1.313 GB, free: 29.51 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001138/1.051, allocations: 53.98 kB / 1.313 GB, free: 29.49 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002295/1.051, allocations: 8.938 kB / 1.313 GB, free: 29.49 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004054/1.051, allocations: 227.1 kB / 1.313 GB, free: 29.32 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001223/1.052, allocations: 0.7025 MB / 1.314 GB, free: 28.62 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001366/1.052, allocations: 19.02 kB / 1.314 GB, free: 28.62 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.333e-05/1.052, allocations: 10.28 kB / 1.314 GB, free: 28.61 MB / 1.061 GB Notification: Performance of SimCode: time 4e-07/1.052, allocations: 3.938 kB / 1.314 GB, free: 28.61 MB / 1.061 GB Notification: Performance of Templates: time 0.003332/1.055, allocations: 0.7521 MB / 1.314 GB, free: 28.51 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Utilities.Math.Examples.VectorFunctions.makefile [Timeout 300] (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 & ./Buildings_12_Buildings.Utilities.Math.Examples.VectorFunctions -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Examples.VectorFunctions.pipe 2>&1) [Timeout 400] 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/jenkins/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: 9.292086129076779]