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.0009399/0.0009399, allocations: 80.8 kB / 20.75 MB, free: 3.742 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.000976/0.000976, allocations: 161 kB / 24.17 MB, free: 332 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 0.9624/0.9624, allocations: 177.2 MB / 204.6 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.992/1.992, allocations: 377.9 MB / 0.624 GB, free: 8.355 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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: 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 1.573e-06/1.573e-06, allocations: 0 / 0.7601 GB, free: 6.445 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.188e-05/2.345e-05, allocations: 6.25 kB / 0.7601 GB, free: 6.438 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.VectorFunctions): time 0.003169/0.003193, allocations: 1.712 MB / 0.7617 GB, free: 4.738 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001522/0.004715, allocations: 0.5957 MB / 0.7623 GB, free: 4.145 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.417e-05/0.004789, allocations: 4 kB / 0.7623 GB, free: 4.141 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0001159/0.004905, allocations: 12.73 kB / 0.7623 GB, free: 4.129 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 5.587e-05/0.004961, allocations: 17.06 kB / 0.7623 GB, free: 4.121 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.000301/0.005262, allocations: 60.45 kB / 0.7624 GB, free: 4.062 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001558/0.005418, allocations: 96.56 kB / 0.7625 GB, free: 3.977 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001353/0.005553, allocations: 31.91 kB / 0.7625 GB, free: 3.945 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001826/0.005736, allocations: 60.62 kB / 0.7626 GB, free: 3.887 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 9.514e-05/0.005831, allocations: 29.97 kB / 0.7626 GB, free: 3.859 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.293e-05/0.005854, allocations: 4 kB / 0.7626 GB, free: 3.855 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001067/0.00596, allocations: 19.98 kB / 0.7626 GB, free: 3.836 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 5.364e-05/0.006014, allocations: 27.91 kB / 0.7627 GB, free: 3.809 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 4.038e-05/0.006054, allocations: 19.92 kB / 0.7627 GB, free: 3.789 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001959/0.00625, allocations: 87.59 kB / 0.7628 GB, free: 3.703 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.006254, allocations: 4.75 kB / 0.7628 GB, free: 3.699 MB / 0.7136 GB Notification: Performance of FrontEnd: time 8.12e-07/0.006255, allocations: 0 / 0.7628 GB, free: 3.699 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.579e-06/0.006259, allocations: 0.75 kB / 0.7628 GB, free: 3.699 MB / 0.7136 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.000495/0.006754, allocations: 301.1 kB / 0.7631 GB, free: 3.383 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.804e-05/0.006802, allocations: 8.031 kB / 0.7631 GB, free: 3.375 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002779/0.00708, allocations: 39.09 kB / 0.7631 GB, free: 3.34 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002568/0.007337, allocations: 146.2 kB / 0.7632 GB, free: 3.172 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.796e-05/0.007355, allocations: 4.375 kB / 0.7632 GB, free: 3.168 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.337e-05/0.007368, allocations: 4.375 kB / 0.7632 GB, free: 3.164 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001964/0.007565, allocations: 91.22 kB / 0.7633 GB, free: 3.066 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.295e-05/0.007578, allocations: 3.938 kB / 0.7633 GB, free: 3.062 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.499e-05/0.007593, allocations: 11.98 kB / 0.7633 GB, free: 3.051 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.895e-06/0.007601, allocations: 1.25 kB / 0.7634 GB, free: 3.051 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.694e-05/0.007658, allocations: 16 kB / 0.7634 GB, free: 3.035 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004595/0.008117, allocations: 226.8 kB / 0.7636 GB, free: 2.797 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 6.449e-05/0.008182, allocations: 62.48 kB / 0.7636 GB, free: 2.727 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.056e-05/0.008212, allocations: 16.84 kB / 0.7637 GB, free: 2.707 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.078e-05/0.008243, allocations: 6.688 kB / 0.7637 GB, free: 2.703 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.54e-05/0.008268, allocations: 34.69 kB / 0.7637 GB, free: 2.66 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=6): time 1.513e-06/0.00827, allocations: 0 / 0.7637 GB, free: 2.66 MB / 0.7136 GB Notification: Performance of matching and sorting (n=6): time 0.0001807/0.00845, allocations: 65.61 kB / 0.7638 GB, free: 2.59 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.282e-05/0.008483, allocations: 55.34 kB / 0.7638 GB, free: 2.523 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.551e-05/0.008579, allocations: 144.7 kB / 0.764 GB, free: 2.371 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.462e-05/0.008593, allocations: 25.7 kB / 0.764 GB, free: 2.34 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.471e-05/0.008638, allocations: 98.81 kB / 0.7641 GB, free: 2.242 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.42e-05/0.008672, allocations: 27.92 kB / 0.7641 GB, free: 2.215 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.314e-05/0.008715, allocations: 17.7 kB / 0.7641 GB, free: 2.191 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.973e-05/0.008805, allocations: 326.8 kB / 0.7644 GB, free: 1.863 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.593e-05/0.008831, allocations: 6.828 kB / 0.7644 GB, free: 1.855 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.464e-05/0.008856, allocations: 12.36 kB / 0.7644 GB, free: 1.844 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.374e-05/0.00892, allocations: 38.44 kB / 0.7645 GB, free: 1.801 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.008921, allocations: 0.9688 kB / 0.7645 GB, free: 1.801 MB / 0.7136 GB Notification: Performance of matching and sorting (n=6) (initialization): time 9.852e-05/0.00902, allocations: 49.69 kB / 0.7645 GB, free: 1.746 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/0.009034, allocations: 8 kB / 0.7645 GB, free: 1.738 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.009039, allocations: 0.9375 kB / 0.7645 GB, free: 1.738 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.268e-05/0.009052, allocations: 0 / 0.7645 GB, free: 1.738 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001125/0.009164, allocations: 20.91 kB / 0.7646 GB, free: 1.719 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.066e-06/0.009167, allocations: 0 / 0.7646 GB, free: 1.719 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.503e-05/0.009212, allocations: 12.39 kB / 0.7646 GB, free: 1.707 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.151e-05/0.009234, allocations: 4 kB / 0.7646 GB, free: 1.703 MB / 0.7136 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 8.303e-05/0.009317, allocations: 124 kB / 0.7647 GB, free: 1.574 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.209e-05/0.009349, allocations: 4 kB / 0.7647 GB, free: 1.57 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001637/0.009513, allocations: 70.44 kB / 0.7648 GB, free: 1.496 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.009515, allocations: 0 / 0.7648 GB, free: 1.496 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.773e-06/0.009517, allocations: 0 / 0.7648 GB, free: 1.496 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.009521, allocations: 4 kB / 0.7648 GB, free: 1.492 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000159/0.00968, allocations: 93.8 kB / 0.7649 GB, free: 1.383 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.009682, allocations: 0 / 0.7649 GB, free: 1.383 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.375e-05/0.009766, allocations: 22.81 kB / 0.7649 GB, free: 1.363 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.896e-06/0.009769, allocations: 0 / 0.7649 GB, free: 1.363 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.227e-06/0.009778, allocations: 128 / 0.7649 GB, free: 1.363 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/0.009782, allocations: 4 kB / 0.7649 GB, free: 1.359 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.009782, allocations: 0 / 0.7649 GB, free: 1.359 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001712/0.009954, allocations: 206.1 kB / 0.7651 GB, free: 1.141 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 1.771e-05/0.009971, allocations: 11.89 kB / 0.7651 GB, free: 1.129 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.711e-05/0.009988, allocations: 0 / 0.7651 GB, free: 1.129 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.914e-05/0.01007, allocations: 9.547 kB / 0.7651 GB, free: 1.121 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.067e-05/0.01011, allocations: 3.938 kB / 0.7651 GB, free: 1.117 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.562e-05/0.01012, allocations: 15.97 kB / 0.7651 GB, free: 1.102 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 3.62e-05/0.01016, allocations: 24.83 kB / 0.7651 GB, free: 1.074 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.01e-07/0.01016, allocations: 2.719 kB / 0.7651 GB, free: 1.074 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002443/0.0104, allocations: 23.89 kB / 0.7652 GB, free: 1.051 MB / 0.7136 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.0001224/0.01053, allocations: 80.42 kB / 0.7652 GB, free: 0.9648 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001155/0.01064, allocations: 32.78 kB / 0.7653 GB, free: 0.9297 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.01065, allocations: 0 / 0.7653 GB, free: 0.9297 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.876e-05/0.01068, allocations: 20.84 kB / 0.7653 GB, free: 0.9062 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001832/0.01087, allocations: 11.72 kB / 0.7653 GB, free: 0.8984 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006358/0.0115, allocations: 214.6 kB / 0.7655 GB, free: 0.6602 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.224e-05/0.01156, allocations: 63.34 kB / 0.7656 GB, free: 0.5781 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.482e-05/0.0116, allocations: 4 kB / 0.7656 GB, free: 0.5742 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.57e-05/0.01167, allocations: 59.36 kB / 0.7656 GB, free: 0.5156 MB / 0.7136 GB Notification: Performance of SimCode: time 7.42e-07/0.01167, allocations: 3.312 kB / 0.7656 GB, free: 0.5156 MB / 0.7136 GB Notification: Performance of Templates: time 0.002999/0.01467, allocations: 0.6973 MB / 0.7663 GB, free: 15.86 MB / 0.7292 GB " [Timeout remaining time 300] 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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Examples.VectorFunctions.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.VectorFunctions_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/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.129214995075017]