Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001767/0.001767, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001923/0.001923, allocations: 193.6 kB / 16.14 MB, free: 6.684 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.543/1.543, allocations: 222.9 MB / 239.8 MB, free: 4.648 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.818/2.818, allocations: 437 MB / 0.71 GB, free: 5.359 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001995/0.001995, allocations: 63.89 kB / 0.8686 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7124/0.7144, allocations: 151.6 MB / 1.017 GB, free: 2.969 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.VectorFunctions): time 0.00313/0.7175, allocations: 1.659 MB / 1.018 GB, free: 1.301 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0009719/0.7185, allocations: 0.5112 MB / 1.019 GB, free: 0.7812 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.835e-05/0.7186, allocations: 3.938 kB / 1.019 GB, free: 0.7773 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0001186/0.7187, allocations: 11.88 kB / 1.019 GB, free: 0.7656 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 3.634e-05/0.7188, allocations: 11.92 kB / 1.019 GB, free: 0.7539 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.000209/0.719, allocations: 35.91 kB / 1.019 GB, free: 0.7188 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001172/0.7191, allocations: 71.77 kB / 1.019 GB, free: 0.6484 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001566/0.7193, allocations: 36.22 kB / 1.019 GB, free: 0.6094 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001053/0.7194, allocations: 39.84 kB / 1.019 GB, free: 0.5703 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 8.187e-05/0.7195, allocations: 35.84 kB / 1.019 GB, free: 0.5352 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.962e-05/0.7195, allocations: 4 kB / 1.019 GB, free: 0.5312 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 7.448e-05/0.7196, allocations: 19.98 kB / 1.019 GB, free: 0.5117 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 4.492e-05/0.7197, allocations: 15.92 kB / 1.019 GB, free: 0.4961 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 5.705e-05/0.7197, allocations: 43.73 kB / 1.019 GB, free: 464 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001651/0.7199, allocations: 85.8 kB / 1.019 GB, free: 380 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.177e-06/0.7199, allocations: 0 / 1.019 GB, free: 380 kB / 0.7637 GB Notification: Performance of FrontEnd: time 8.61e-07/0.7199, allocations: 0 / 1.019 GB, free: 380 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.679e-06/0.7199, allocations: 4 kB / 1.019 GB, free: 376 kB / 0.7637 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.0006463/0.7206, allocations: 392.4 kB / 1.02 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.7206, allocations: 8.031 kB / 1.02 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.681e-05/0.7207, allocations: 12.84 kB / 1.02 GB, free: 15.92 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002041/0.7209, allocations: 202.7 kB / 1.02 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.108e-05/0.7209, allocations: 8.375 kB / 1.02 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.208e-05/0.7209, allocations: 4.375 kB / 1.02 GB, free: 15.67 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002845/0.7212, allocations: 109.9 kB / 1.02 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.7212, allocations: 3.938 kB / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.325e-05/0.7213, allocations: 0 / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.095e-06/0.7213, allocations: 4 kB / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002669/0.7215, allocations: 109.5 kB / 1.02 GB, free: 15.45 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006392/0.7222, allocations: 364.6 kB / 1.02 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000167/0.7224, allocations: 70.48 kB / 1.02 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001277/0.7225, allocations: 48.95 kB / 1.02 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 5.069e-05/0.7226, allocations: 3.984 kB / 1.02 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.275e-05/0.7226, allocations: 38.56 kB / 1.02 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=6): time 1.422e-06/0.7226, allocations: 0 / 1.02 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6): time 0.0005196/0.7231, allocations: 165.5 kB / 1.021 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.989e-05/0.7232, allocations: 59.34 kB / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001269/0.7233, allocations: 133.8 kB / 1.021 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.097e-05/0.7234, allocations: 25.7 kB / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.145e-05/0.7234, allocations: 108.1 kB / 1.021 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.522e-05/0.7235, allocations: 19.66 kB / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.021e-05/0.7235, allocations: 21.7 kB / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001492/0.7237, allocations: 322.8 kB / 1.021 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001151/0.7238, allocations: 43.91 kB / 1.021 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001048/0.7239, allocations: 39.97 kB / 1.021 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002394/0.7242, allocations: 84.81 kB / 1.021 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.7242, allocations: 0 / 1.021 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002875/0.7245, allocations: 129.5 kB / 1.022 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.105e-05/0.7245, allocations: 4 kB / 1.022 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.603e-06/0.7245, allocations: 3.938 kB / 1.022 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/0.7245, allocations: 4 kB / 1.022 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001544/0.7247, allocations: 19.92 kB / 1.022 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.727e-06/0.7247, allocations: 0 / 1.022 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.446e-05/0.7248, allocations: 7.984 kB / 1.022 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.703e-05/0.7248, allocations: 4 kB / 1.022 GB, free: 13.62 MB / 0.7794 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 0.0001182/0.7249, allocations: 125.8 kB / 1.022 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.366e-05/0.725, allocations: 7.906 kB / 1.022 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003944/0.7254, allocations: 142.7 kB / 1.022 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.179e-06/0.7254, allocations: 3.938 kB / 1.022 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.7254, allocations: 0 / 1.022 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.492e-06/0.7254, allocations: 0 / 1.022 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002428/0.7257, allocations: 217.5 kB / 1.022 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.7257, allocations: 4 kB / 1.022 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001045/0.7258, allocations: 19.98 kB / 1.022 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.7258, allocations: 0 / 1.022 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.068e-05/0.7258, allocations: 0 / 1.022 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.288e-06/0.7258, allocations: 3.938 kB / 1.022 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.7258, allocations: 0 / 1.022 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003415/0.7262, allocations: 227.4 kB / 1.022 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.867e-05/0.7262, allocations: 77.11 kB / 1.022 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.381e-05/0.7263, allocations: 11.92 kB / 1.022 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.953e-05/0.7264, allocations: 7.938 kB / 1.022 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.803e-05/0.7264, allocations: 7.969 kB / 1.022 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.909e-06/0.7265, allocations: 4 kB / 1.022 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 8.299e-05/0.7265, allocations: 112.6 kB / 1.023 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7266, allocations: 0 / 1.023 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000245/0.7268, allocations: 19.94 kB / 1.023 GB, free: 12.55 MB / 0.7794 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.0001699/0.727, allocations: 99.78 kB / 1.023 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002978/0.7273, allocations: 95.94 kB / 1.023 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.7273, allocations: 0 / 1.023 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001307/0.7274, allocations: 59.89 kB / 1.023 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002351/0.7277, allocations: 5.25 kB / 1.023 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005274/0.7282, allocations: 244.9 kB / 1.023 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003217/0.7285, allocations: 0.7004 MB / 1.024 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001353/0.7287, allocations: 19.92 kB / 1.024 GB, free: 11.28 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.334e-05/0.7287, allocations: 11.42 kB / 1.024 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of SimCode: time 4.61e-07/0.7287, allocations: 0 / 1.024 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of Templates: time 0.003324/0.7321, allocations: 0.6217 MB / 1.024 GB, free: 10.65 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Examples.VectorFunctions.makefile (rm -f Buildings_10_Buildings.Utilities.Math.Examples.VectorFunctions.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Examples.VectorFunctions.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Examples.VectorFunctions.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Examples.VectorFunctions.sim & ./Buildings_10_Buildings.Utilities.Math.Examples.VectorFunctions -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Math.Examples.VectorFunctions.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Utilities.Math.Examples.VectorFunctions_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Math_Examples_VectorFunctions.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Examples.VectorFunctions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches