Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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=5000,variableFilter="time|sine.y|sine1.y|sine2.y|minVec.y|maxVec.y|aveVec.y",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Examples.VectorFunctions") translateModel(Buildings.Utilities.Math.Examples.VectorFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sine.y|sine1.y|sine2.y|minVec.y|maxVec.y|aveVec.y",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Examples.VectorFunctions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001091/0.001091, allocations: 97.78 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001801/0.001802, allocations: 187.2 kB / 16.92 MB, free: 6.75 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.481/1.481, allocations: 223.3 MB / 241 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.559/2.559, allocations: 390.9 MB / 0.667 GB, free: 2.383 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003448/0.0003449, allocations: 12 kB / 0.8166 GB, free: 13.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7294/0.7297, allocations: 142.4 MB / 0.9557 GB, free: 7.707 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.VectorFunctions): time 0.001567/0.7314, allocations: 1.307 MB / 0.957 GB, free: 6.672 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0007529/0.7321, allocations: 0.4979 MB / 0.9575 GB, free: 6.277 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.237e-05/0.7322, allocations: 1.375 kB / 0.9575 GB, free: 6.277 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 8.896e-05/0.7323, allocations: 3.938 kB / 0.9575 GB, free: 6.273 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.538e-05/0.7323, allocations: 10.28 kB / 0.9575 GB, free: 6.266 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001919/0.7325, allocations: 34.86 kB / 0.9575 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.942e-05/0.7326, allocations: 81.2 kB / 0.9576 GB, free: 6.191 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001412/0.7328, allocations: 40.48 kB / 0.9576 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.238e-05/0.7329, allocations: 36.66 kB / 0.9577 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.197e-05/0.733, allocations: 28.94 kB / 0.9577 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.55e-05/0.733, allocations: 2.344 kB / 0.9577 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 6.185e-05/0.733, allocations: 9.406 kB / 0.9577 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.471e-05/0.7331, allocations: 17.55 kB / 0.9577 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.912e-05/0.7331, allocations: 61.16 kB / 0.9578 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001/0.7332, allocations: 60.33 kB / 0.9578 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.7332, allocations: 3.984 kB / 0.9578 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.452e-06/0.7333, allocations: 0 / 0.9578 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.498e-06/0.7333, allocations: 0 / 0.9578 GB, free: 6.004 MB / 0.7169 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.0004323/0.7337, allocations: 395.7 kB / 0.9582 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.838e-05/0.7337, allocations: 9.906 kB / 0.9582 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.209e-05/0.7338, allocations: 10.56 kB / 0.9582 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001347/0.7339, allocations: 193.2 kB / 0.9584 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.071e-05/0.734, allocations: 3.75 kB / 0.9584 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.585e-05/0.734, allocations: 8.812 kB / 0.9584 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000248/0.7342, allocations: 116 kB / 0.9585 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.145e-06/0.7342, allocations: 1.375 kB / 0.9585 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.414e-05/0.7343, allocations: 7.984 kB / 0.9586 GB, free: 5.293 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.7343, allocations: 5.5 kB / 0.9586 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002518/0.7345, allocations: 111.9 kB / 0.9587 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005269/0.7351, allocations: 381.4 kB / 0.959 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001466/0.7352, allocations: 61.89 kB / 0.9591 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001198/0.7354, allocations: 63.02 kB / 0.9591 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.55e-05/0.7354, allocations: 10.06 kB / 0.9592 GB, free: 4.816 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.229e-05/0.7354, allocations: 32.56 kB / 0.9592 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=6): time 1.092e-06/0.7354, allocations: 0 / 0.9592 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6): time 0.0004692/0.7359, allocations: 183.8 kB / 0.9594 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.302e-05/0.7359, allocations: 52.88 kB / 0.9594 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.564e-05/0.736, allocations: 136.9 kB / 0.9595 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.088e-05/0.736, allocations: 25.7 kB / 0.9596 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.528e-05/0.7361, allocations: 109.6 kB / 0.9597 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.549e-05/0.7361, allocations: 30.58 kB / 0.9597 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.297e-05/0.7361, allocations: 11.16 kB / 0.9597 GB, free: 4.32 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.519e-05/0.7362, allocations: 320.3 kB / 0.96 GB, free: 4 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001117/0.7363, allocations: 44.94 kB / 0.9601 GB, free: 3.984 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001014/0.7364, allocations: 48.66 kB / 0.9601 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002217/0.7366, allocations: 95.28 kB / 0.9602 GB, free: 3.926 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.7367, allocations: 3.938 kB / 0.9602 GB, free: 3.922 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002686/0.7369, allocations: 140.9 kB / 0.9603 GB, free: 3.844 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.493e-05/0.737, allocations: 5.5 kB / 0.9603 GB, free: 3.844 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.737, allocations: 0 / 0.9603 GB, free: 3.844 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/0.737, allocations: 0 / 0.9603 GB, free: 3.844 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001361/0.7371, allocations: 28.42 kB / 0.9604 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.489e-06/0.7371, allocations: 0 / 0.9604 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.495e-05/0.7372, allocations: 12.23 kB / 0.9604 GB, free: 3.828 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.104e-05/0.7372, allocations: 2.75 kB / 0.9604 GB, free: 3.828 MB / 0.7169 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.691e-05/0.7373, allocations: 123.3 kB / 0.9605 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.049e-05/0.7374, allocations: 11.97 kB / 0.9605 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003361/0.7377, allocations: 155 kB / 0.9607 GB, free: 3.605 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-06/0.7377, allocations: 5.312 kB / 0.9607 GB, free: 3.602 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.7377, allocations: 0 / 0.9607 GB, free: 3.602 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.7377, allocations: 0.5 kB / 0.9607 GB, free: 3.602 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001596/0.7379, allocations: 210.3 kB / 0.9609 GB, free: 3.371 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.7379, allocations: 0 / 0.9609 GB, free: 3.371 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001053/0.738, allocations: 32.42 kB / 0.9609 GB, free: 3.355 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.738, allocations: 0 / 0.9609 GB, free: 3.355 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.926e-06/0.738, allocations: 1.375 kB / 0.9609 GB, free: 3.355 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.915e-06/0.738, allocations: 5.312 kB / 0.9609 GB, free: 3.352 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.738, allocations: 0 / 0.9609 GB, free: 3.352 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002924/0.7383, allocations: 240.1 kB / 0.9611 GB, free: 3.168 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.254e-05/0.7384, allocations: 82.39 kB / 0.9612 GB, free: 3.07 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.85e-05/0.7384, allocations: 5.359 kB / 0.9612 GB, free: 3.066 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000104/0.7385, allocations: 12.19 kB / 0.9612 GB, free: 3.062 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.495e-05/0.7386, allocations: 14.72 kB / 0.9612 GB, free: 3.051 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.918e-06/0.7386, allocations: 2.75 kB / 0.9612 GB, free: 3.051 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.406e-05/0.7386, allocations: 106.6 kB / 0.9613 GB, free: 2.961 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7386, allocations: 0 / 0.9613 GB, free: 2.961 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002453/0.7389, allocations: 17.69 kB / 0.9614 GB, free: 2.957 MB / 0.7169 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.0001225/0.739, allocations: 101 kB / 0.9615 GB, free: 2.863 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002887/0.7393, allocations: 111.5 kB / 0.9616 GB, free: 2.824 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.7393, allocations: 0 / 0.9616 GB, free: 2.824 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001438/0.7395, allocations: 61.7 kB / 0.9616 GB, free: 2.801 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002335/0.7397, allocations: 10.22 kB / 0.9616 GB, free: 2.793 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004149/0.7401, allocations: 276 kB / 0.9619 GB, free: 2.559 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001282/0.7403, allocations: 0.7043 MB / 0.9626 GB, free: 1.848 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.694e-05/0.7403, allocations: 14.3 kB / 0.9626 GB, free: 1.836 MB / 0.7169 GB Notification: Performance of SimCode: time 2.3e-07/0.7403, allocations: 1.125 kB / 0.9626 GB, free: 1.836 MB / 0.7169 GB Notification: Performance of Templates: time 0.002786/0.7431, allocations: 1.107 MB / 0.9637 GB, free: 1.27 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Examples.VectorFunctions.makefile (rm -f Buildings_9_Buildings.Utilities.Math.Examples.VectorFunctions.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Examples.VectorFunctions.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Examples.VectorFunctions.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Examples.VectorFunctions.sim & ./Buildings_9_Buildings.Utilities.Math.Examples.VectorFunctions -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Utilities.Math.Examples.VectorFunctions.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Utilities.Math.Examples.VectorFunctions_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Utilities_Math_Examples_VectorFunctions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Utilities.Math.Examples.VectorFunctions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches