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.0009975/0.0009975, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.0009666/0.0009666, allocations: 165 kB / 23.02 MB, free: 1.551 MB / 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.019/1.019, allocations: 177.1 MB / 203.4 MB, free: 5.641 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.131/2.131, allocations: 429.5 MB / 0.6733 GB, free: 4.023 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 2.034e-06/2.034e-06, allocations: 0 / 0.8782 GB, free: 6.285 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.729e-05/2.933e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.281 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.VectorFunctions): time 0.003532/0.003562, allocations: 1.666 MB / 0.8798 GB, free: 4.633 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001478/0.00504, allocations: 0.5824 MB / 0.8804 GB, free: 4.047 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001314/0.005171, allocations: 4.656 kB / 0.8804 GB, free: 4.043 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001815/0.005353, allocations: 11.88 kB / 0.8804 GB, free: 4.031 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 5.727e-05/0.00541, allocations: 17.39 kB / 0.8804 GB, free: 4.016 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.000515/0.005925, allocations: 63.8 kB / 0.8805 GB, free: 3.953 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0002279/0.006153, allocations: 95.44 kB / 0.8805 GB, free: 3.863 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001945/0.006348, allocations: 19.98 kB / 0.8806 GB, free: 3.844 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002853/0.006633, allocations: 67.75 kB / 0.8806 GB, free: 3.777 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 9.796e-05/0.006731, allocations: 31.89 kB / 0.8807 GB, free: 3.746 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.494e-05/0.006756, allocations: 4 kB / 0.8807 GB, free: 3.742 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 9.626e-05/0.006852, allocations: 19.98 kB / 0.8807 GB, free: 3.723 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 4.69e-05/0.006899, allocations: 19.92 kB / 0.8807 GB, free: 3.703 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 5.308e-05/0.006952, allocations: 31.84 kB / 0.8807 GB, free: 3.672 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002116/0.007164, allocations: 75.67 kB / 0.8808 GB, free: 3.598 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 7.414e-06/0.007171, allocations: 4.938 kB / 0.8808 GB, free: 3.594 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.182e-06/0.007172, allocations: 0 / 0.8808 GB, free: 3.594 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.973e-06/0.007179, allocations: 0 / 0.8808 GB, free: 3.594 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.0005777/0.007757, allocations: 437.1 kB / 0.8812 GB, free: 3.133 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.089e-05/0.007808, allocations: 8.031 kB / 0.8812 GB, free: 3.125 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003052/0.008113, allocations: 37.95 kB / 0.8813 GB, free: 3.09 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002458/0.008359, allocations: 156.2 kB / 0.8814 GB, free: 2.914 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.9e-05/0.008378, allocations: 8.375 kB / 0.8814 GB, free: 2.906 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.996e-05/0.008398, allocations: 4.375 kB / 0.8814 GB, free: 2.902 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002435/0.008641, allocations: 98.34 kB / 0.8815 GB, free: 2.801 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.965e-05/0.008661, allocations: 3.938 kB / 0.8815 GB, free: 2.797 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.771e-05/0.008679, allocations: 4 kB / 0.8815 GB, free: 2.793 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.112e-05/0.00869, allocations: 0 / 0.8815 GB, free: 2.793 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.932e-05/0.008779, allocations: 23.98 kB / 0.8816 GB, free: 2.77 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006158/0.009395, allocations: 343.5 kB / 0.8819 GB, free: 2.398 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 7.503e-05/0.00947, allocations: 31.06 kB / 0.8819 GB, free: 2.355 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.979e-05/0.00952, allocations: 28.53 kB / 0.8819 GB, free: 2.324 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 4.397e-05/0.009564, allocations: 4 kB / 0.8819 GB, free: 2.32 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.758e-05/0.009591, allocations: 33.98 kB / 0.882 GB, free: 2.277 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=6): time 1.924e-06/0.009593, allocations: 0 / 0.882 GB, free: 2.277 MB / 0.8386 GB Notification: Performance of matching and sorting (n=6): time 0.0002683/0.009861, allocations: 90.02 kB / 0.8821 GB, free: 2.184 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.677e-05/0.009898, allocations: 52.56 kB / 0.8821 GB, free: 2.121 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000129/0.01003, allocations: 204.1 kB / 0.8823 GB, free: 1.906 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.536e-05/0.01004, allocations: 25.7 kB / 0.8823 GB, free: 1.875 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.356e-05/0.01012, allocations: 156.4 kB / 0.8825 GB, free: 1.719 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.297e-05/0.01015, allocations: 23.8 kB / 0.8825 GB, free: 1.695 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.737e-05/0.0102, allocations: 27.36 kB / 0.8825 GB, free: 1.66 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.000144/0.01034, allocations: 0.4884 MB / 0.883 GB, free: 1.16 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.662e-05/0.01038, allocations: 8.703 kB / 0.883 GB, free: 1.152 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.194e-05/0.01041, allocations: 8 kB / 0.883 GB, free: 1.145 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.486e-05/0.01049, allocations: 41.05 kB / 0.8831 GB, free: 1.102 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.0105, allocations: 0 / 0.8831 GB, free: 1.102 MB / 0.8386 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001481/0.01064, allocations: 73.58 kB / 0.8831 GB, free: 1.023 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.601e-05/0.01066, allocations: 8 kB / 0.8831 GB, free: 1.016 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.01067, allocations: 0 / 0.8831 GB, free: 1.016 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.905e-05/0.01069, allocations: 0 / 0.8831 GB, free: 1.016 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001272/0.01081, allocations: 19.92 kB / 0.8832 GB, free: 0.9961 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.386e-06/0.01082, allocations: 3.938 kB / 0.8832 GB, free: 0.9922 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.916e-05/0.01087, allocations: 7.984 kB / 0.8832 GB, free: 0.9844 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.349e-05/0.01089, allocations: 4 kB / 0.8832 GB, free: 0.9805 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 9.823e-05/0.01099, allocations: 160.6 kB / 0.8833 GB, free: 0.8125 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.645e-05/0.01103, allocations: 7.953 kB / 0.8833 GB, free: 0.8047 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002346/0.01126, allocations: 90.38 kB / 0.8834 GB, free: 0.707 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.01127, allocations: 0 / 0.8834 GB, free: 0.707 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/0.01127, allocations: 3.938 kB / 0.8834 GB, free: 0.7031 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.01128, allocations: 0 / 0.8834 GB, free: 0.7031 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001897/0.01147, allocations: 148.5 kB / 0.8836 GB, free: 0.5234 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.01147, allocations: 0 / 0.8836 GB, free: 0.5234 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.617e-05/0.01156, allocations: 15.98 kB / 0.8836 GB, free: 0.5078 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.966e-06/0.01156, allocations: 0 / 0.8836 GB, free: 0.5078 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.161e-05/0.01157, allocations: 8 kB / 0.8836 GB, free: 0.5 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.01157, allocations: 0 / 0.8836 GB, free: 0.5 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.01157, allocations: 0 / 0.8836 GB, free: 0.5 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002116/0.01179, allocations: 231.9 kB / 0.8838 GB, free: 260 kB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.628e-05/0.0118, allocations: 11.89 kB / 0.8838 GB, free: 248 kB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.682e-05/0.01182, allocations: 0 / 0.8838 GB, free: 248 kB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.557e-05/0.0119, allocations: 4 kB / 0.8838 GB, free: 244 kB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.597e-05/0.01196, allocations: 11.98 kB / 0.8838 GB, free: 232 kB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.19e-05/0.01197, allocations: 3.938 kB / 0.8838 GB, free: 228 kB / 0.8386 GB Notification: Performance of sorting global known variables: time 7.366e-05/0.01205, allocations: 147.2 kB / 0.884 GB, free: 80 kB / 0.8386 GB Notification: Performance of sort global known variables: time 1.2e-07/0.01205, allocations: 0 / 0.884 GB, free: 80 kB / 0.8386 GB Notification: Performance of remove unused functions: time 0.000276/0.01232, allocations: 12 kB / 0.884 GB, free: 68 kB / 0.8386 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.0001745/0.0125, allocations: 103.2 kB / 0.8841 GB, free: 15.96 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001441/0.01264, allocations: 43.61 kB / 0.8841 GB, free: 15.91 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.01264, allocations: 0 / 0.8841 GB, free: 15.91 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 5.339e-05/0.0127, allocations: 23.67 kB / 0.8842 GB, free: 15.88 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002528/0.01295, allocations: 11.94 kB / 0.8842 GB, free: 15.87 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007467/0.01369, allocations: 214.5 kB / 0.8844 GB, free: 15.63 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.205e-05/0.01375, allocations: 67.34 kB / 0.8844 GB, free: 15.55 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 6.455e-05/0.01381, allocations: 11.98 kB / 0.8844 GB, free: 15.54 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.481e-05/0.01386, allocations: 20.48 kB / 0.8845 GB, free: 15.52 MB / 0.8542 GB Notification: Performance of SimCode: time 8.41e-07/0.01386, allocations: 3.938 kB / 0.8845 GB, free: 15.51 MB / 0.8542 GB Notification: Performance of Templates: time 0.003537/0.01739, allocations: 0.7315 MB / 0.8852 GB, free: 14.8 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.463630138896406]