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.001192/0.001192, allocations: 77.09 kB / 20.66 MB, free: 3.844 MB / 18.57 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.000967/0.000967, allocations: 169 kB / 24.06 MB, free: 456 kB / 18.57 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.08/1.08, allocations: 177.1 MB / 204.5 MB, free: 5.504 MB / 186.7 MB " [Timeout remaining time 179] 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 2.089/2.089, allocations: 429.5 MB / 0.6743 GB, free: 3.922 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.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: 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_latest_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_latest_Buildings.Utilities.Math.Examples.VectorFunctions") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.402e-06/1.402e-06, allocations: 1.094 kB / 0.8794 GB, free: 6.012 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.991e-05/2.131e-05, allocations: 6.25 kB / 0.8794 GB, free: 6.004 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.VectorFunctions): time 0.002087/0.002108, allocations: 1.657 MB / 0.881 GB, free: 4.363 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0007701/0.002878, allocations: 0.5792 MB / 0.8816 GB, free: 3.781 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.788e-05/0.002946, allocations: 7.938 kB / 0.8816 GB, free: 3.773 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001077/0.003054, allocations: 13.47 kB / 0.8816 GB, free: 3.762 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 2.823e-05/0.003082, allocations: 11.81 kB / 0.8816 GB, free: 3.75 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002636/0.003346, allocations: 65.59 kB / 0.8817 GB, free: 3.688 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.000124/0.00347, allocations: 87.69 kB / 0.8818 GB, free: 3.602 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001283/0.003598, allocations: 27.98 kB / 0.8818 GB, free: 3.574 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001318/0.00373, allocations: 67.75 kB / 0.8819 GB, free: 3.508 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 6.027e-05/0.00379, allocations: 27.91 kB / 0.8819 GB, free: 3.48 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.685e-05/0.003807, allocations: 6.75 kB / 0.8819 GB, free: 3.477 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 6.602e-05/0.003873, allocations: 23.97 kB / 0.8819 GB, free: 3.453 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 3.571e-05/0.003909, allocations: 19.92 kB / 0.8819 GB, free: 3.434 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 3.11e-05/0.00394, allocations: 27.91 kB / 0.882 GB, free: 3.406 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001218/0.004062, allocations: 75.67 kB / 0.882 GB, free: 3.332 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.255e-06/0.004064, allocations: 0 / 0.882 GB, free: 3.332 MB / 0.8386 GB Notification: Performance of FrontEnd: time 9.31e-07/0.004065, allocations: 3.938 kB / 0.882 GB, free: 3.328 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.057e-06/0.004069, allocations: 8 kB / 0.882 GB, free: 3.32 MB / 0.8386 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.0003821/0.004451, allocations: 428.1 kB / 0.8824 GB, free: 2.867 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.523e-05/0.004486, allocations: 8.031 kB / 0.8825 GB, free: 2.859 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001658/0.004652, allocations: 48.75 kB / 0.8825 GB, free: 2.812 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001553/0.004807, allocations: 154.1 kB / 0.8826 GB, free: 2.637 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.001e-05/0.004817, allocations: 384 / 0.8826 GB, free: 2.637 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.919e-06/0.004827, allocations: 8.375 kB / 0.8827 GB, free: 2.629 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000126/0.004953, allocations: 86.86 kB / 0.8827 GB, free: 2.535 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.258e-06/0.004963, allocations: 3.938 kB / 0.8827 GB, free: 2.531 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.779e-06/0.004972, allocations: 7.938 kB / 0.8827 GB, free: 2.523 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.872e-06/0.004979, allocations: 3.984 kB / 0.8828 GB, free: 2.52 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.834e-05/0.005018, allocations: 19.98 kB / 0.8828 GB, free: 2.5 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003375/0.005355, allocations: 312.2 kB / 0.8831 GB, free: 2.168 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 4.801e-05/0.005403, allocations: 31.06 kB / 0.8831 GB, free: 2.125 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.365e-05/0.005427, allocations: 15.67 kB / 0.8831 GB, free: 2.105 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.593e-05/0.005453, allocations: 4.125 kB / 0.8831 GB, free: 2.102 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.214e-05/0.005475, allocations: 45.39 kB / 0.8832 GB, free: 2.047 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=6): time 8.42e-07/0.005476, allocations: 0 / 0.8832 GB, free: 2.047 MB / 0.8386 GB Notification: Performance of matching and sorting (n=6): time 0.0001578/0.005633, allocations: 77.52 kB / 0.8832 GB, free: 1.965 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.019e-05/0.005664, allocations: 51.41 kB / 0.8833 GB, free: 1.902 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.761e-05/0.005751, allocations: 200.9 kB / 0.8835 GB, free: 1.691 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.209e-05/0.005763, allocations: 25.7 kB / 0.8835 GB, free: 1.66 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.284e-05/0.005816, allocations: 158.8 kB / 0.8837 GB, free: 1.5 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.487e-05/0.005841, allocations: 23.78 kB / 0.8837 GB, free: 1.477 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.356e-05/0.005875, allocations: 23.38 kB / 0.8837 GB, free: 1.445 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001163/0.005991, allocations: 0.4923 MB / 0.8842 GB, free: 0.9414 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.83e-05/0.006009, allocations: 7.984 kB / 0.8842 GB, free: 0.9336 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.722e-05/0.006026, allocations: 12 kB / 0.8842 GB, free: 0.9219 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.218e-05/0.006079, allocations: 31.66 kB / 0.8842 GB, free: 0.8867 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.00608, allocations: 0 / 0.8842 GB, free: 0.8867 MB / 0.8386 GB Notification: Performance of matching and sorting (n=6) (initialization): time 8.758e-05/0.006168, allocations: 65.95 kB / 0.8843 GB, free: 0.8164 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.349e-05/0.006181, allocations: 10.5 kB / 0.8843 GB, free: 0.8086 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.588e-06/0.006186, allocations: 4.062 kB / 0.8843 GB, free: 0.8047 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.794e-06/0.006194, allocations: 0 / 0.8843 GB, free: 0.8047 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.405e-05/0.006268, allocations: 15.98 kB / 0.8843 GB, free: 0.7891 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.324e-06/0.00627, allocations: 0 / 0.8843 GB, free: 0.7891 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.797e-05/0.006298, allocations: 15.88 kB / 0.8843 GB, free: 0.7734 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.492e-05/0.006313, allocations: 7.984 kB / 0.8843 GB, free: 0.7656 MB / 0.8386 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.461e-05/0.006378, allocations: 156.6 kB / 0.8845 GB, free: 0.6016 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.106e-05/0.006399, allocations: 7.953 kB / 0.8845 GB, free: 0.5938 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001244/0.006523, allocations: 82.38 kB / 0.8846 GB, free: 0.5039 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.006525, allocations: 0 / 0.8846 GB, free: 0.5039 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.502e-06/0.006526, allocations: 4 kB / 0.8846 GB, free: 0.5 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.006531, allocations: 3.938 kB / 0.8846 GB, free: 0.4961 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001074/0.006638, allocations: 121.2 kB / 0.8847 GB, free: 360 kB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.006639, allocations: 0 / 0.8847 GB, free: 360 kB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.079e-05/0.00668, allocations: 15.98 kB / 0.8847 GB, free: 344 kB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.006682, allocations: 4 kB / 0.8847 GB, free: 340 kB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.041e-06/0.006688, allocations: 8 kB / 0.8847 GB, free: 332 kB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.006689, allocations: 0 / 0.8847 GB, free: 332 kB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.006689, allocations: 0 / 0.8847 GB, free: 332 kB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001209/0.00681, allocations: 223.7 kB / 0.8849 GB, free: 88 kB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 8.937e-06/0.006819, allocations: 7.891 kB / 0.8849 GB, free: 80 kB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.112e-05/0.00683, allocations: 4 kB / 0.885 GB, free: 76 kB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.271e-05/0.006873, allocations: 8 kB / 0.885 GB, free: 68 kB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.528e-05/0.006908, allocations: 7.969 kB / 0.885 GB, free: 60 kB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.173e-06/0.006915, allocations: 8.125 kB / 0.885 GB, free: 52 kB / 0.8386 GB Notification: Performance of sorting global known variables: time 5.904e-05/0.006974, allocations: 152.6 kB / 0.8851 GB, free: 15.9 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7e-08/0.006974, allocations: 4 kB / 0.8851 GB, free: 15.9 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001559/0.00713, allocations: 12 kB / 0.8851 GB, free: 15.89 MB / 0.8542 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 9.927e-05/0.00723, allocations: 95.25 kB / 0.8852 GB, free: 15.79 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 8.645e-05/0.007316, allocations: 43.59 kB / 0.8853 GB, free: 15.74 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.152e-06/0.007317, allocations: 0 / 0.8853 GB, free: 15.74 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 2.62e-05/0.007343, allocations: 19.69 kB / 0.8853 GB, free: 15.71 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001524/0.007496, allocations: 15.98 kB / 0.8853 GB, free: 15.7 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003987/0.007895, allocations: 206.7 kB / 0.8855 GB, free: 15.47 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.742e-05/0.007932, allocations: 67.28 kB / 0.8856 GB, free: 15.38 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 3.1e-05/0.007963, allocations: 11.92 kB / 0.8856 GB, free: 15.37 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.604e-05/0.008009, allocations: 74.2 kB / 0.8856 GB, free: 15.3 MB / 0.8542 GB Notification: Performance of SimCode: time 7.82e-07/0.00801, allocations: 0 / 0.8856 GB, free: 15.3 MB / 0.8542 GB Notification: Performance of Templates: time 0.002356/0.01037, allocations: 0.7967 MB / 0.8864 GB, free: 14.51 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.VectorFunctions.makefile [Timeout 300] (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 & ./Buildings_latest_Buildings.Utilities.Math.Examples.VectorFunctions -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.VectorFunctions.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.VectorFunctions_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_VectorFunctions.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.563996057026088]