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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.002093/0.002094, allocations: 100.1 kB / 15.88 MB, free: 12 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.002667/0.002667, allocations: 198.7 kB / 16.79 MB, free: 6.809 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.361/1.361, allocations: 222.9 MB / 240.5 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.516/2.516, allocations: 437 MB / 0.7106 GB, free: 5.258 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001341/0.001341, allocations: 71.89 kB / 0.8692 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6228/0.6242, allocations: 151.6 MB / 1.017 GB, free: 2.746 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.VectorFunctions): time 0.003124/0.6274, allocations: 1.663 MB / 1.019 GB, free: 1.074 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0009497/0.6283, allocations: 0.5073 MB / 1.019 GB, free: 0.5586 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.572e-05/0.6284, allocations: 4 kB / 1.019 GB, free: 0.5547 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0001264/0.6286, allocations: 11.86 kB / 1.019 GB, free: 0.543 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 4.447e-05/0.6287, allocations: 15.86 kB / 1.019 GB, free: 0.5273 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002161/0.6289, allocations: 27.92 kB / 1.019 GB, free: 0.5 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001175/0.629, allocations: 79.75 kB / 1.02 GB, free: 432 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001522/0.6292, allocations: 36.22 kB / 1.02 GB, free: 392 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001138/0.6293, allocations: 39.86 kB / 1.02 GB, free: 352 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 8.077e-05/0.6294, allocations: 43.81 kB / 1.02 GB, free: 308 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.901e-05/0.6294, allocations: 4 kB / 1.02 GB, free: 304 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 6.165e-05/0.6295, allocations: 8 kB / 1.02 GB, free: 296 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 4.061e-05/0.6295, allocations: 23.92 kB / 1.02 GB, free: 272 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 4.724e-05/0.6296, allocations: 35.73 kB / 1.02 GB, free: 236 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001102/0.6297, allocations: 61.88 kB / 1.02 GB, free: 176 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.6297, allocations: 0 / 1.02 GB, free: 176 kB / 0.7637 GB Notification: Performance of FrontEnd: time 8.31e-07/0.6297, allocations: 0 / 1.02 GB, free: 176 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.469e-06/0.6297, allocations: 0 / 1.02 GB, free: 176 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.000575/0.6303, allocations: 403.1 kB / 1.02 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.913e-05/0.6303, allocations: 8.031 kB / 1.02 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.425e-05/0.6304, allocations: 8.844 kB / 1.02 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000175/0.6306, allocations: 204 kB / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.457e-06/0.6306, allocations: 384 / 1.02 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.013e-05/0.6306, allocations: 8.375 kB / 1.02 GB, free: 15.47 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002688/0.6309, allocations: 106 kB / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.875e-06/0.6309, allocations: 0 / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.386e-05/0.6309, allocations: 4 kB / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.6309, allocations: 0 / 1.02 GB, free: 15.36 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002466/0.6312, allocations: 103.9 kB / 1.021 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000584/0.6318, allocations: 376.6 kB / 1.021 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001459/0.6319, allocations: 66.48 kB / 1.021 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001177/0.6321, allocations: 44.95 kB / 1.021 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.833e-05/0.6321, allocations: 7.984 kB / 1.021 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.532e-05/0.6321, allocations: 34.56 kB / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=6): time 1.342e-06/0.6321, allocations: 0 / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6): time 0.0004506/0.6326, allocations: 165.5 kB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.428e-05/0.6327, allocations: 51.41 kB / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001074/0.6328, allocations: 135.6 kB / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.422e-05/0.6328, allocations: 33.64 kB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.222e-05/0.6329, allocations: 104.1 kB / 1.022 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.942e-05/0.6329, allocations: 27.64 kB / 1.022 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.151e-05/0.6329, allocations: 17.72 kB / 1.022 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001286/0.6331, allocations: 322.8 kB / 1.022 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001145/0.6332, allocations: 39.97 kB / 1.022 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001008/0.6333, allocations: 39.97 kB / 1.022 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002136/0.6335, allocations: 97.11 kB / 1.022 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.6335, allocations: 0 / 1.022 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002795/0.6338, allocations: 125.5 kB / 1.022 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.772e-05/0.6338, allocations: 4 kB / 1.022 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.022e-06/0.6339, allocations: 3.984 kB / 1.022 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.516e-05/0.6339, allocations: 0 / 1.022 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001519/0.634, allocations: 35.78 kB / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.634, allocations: 0 / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.038e-05/0.6341, allocations: 4 kB / 1.022 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.822e-05/0.6342, allocations: 7.984 kB / 1.022 GB, free: 13.41 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.0001075/0.6343, allocations: 118.4 kB / 1.022 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.311e-05/0.6343, allocations: 7.906 kB / 1.022 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003438/0.6347, allocations: 142.3 kB / 1.022 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.503e-06/0.6347, allocations: 7.938 kB / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.6347, allocations: 3.938 kB / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.6347, allocations: 0 / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002323/0.6349, allocations: 205.5 kB / 1.023 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.6349, allocations: 4 kB / 1.023 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001303/0.6351, allocations: 15.98 kB / 1.023 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.534e-06/0.6351, allocations: 7.984 kB / 1.023 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.221e-05/0.6351, allocations: 4 kB / 1.023 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/0.6351, allocations: 3.938 kB / 1.023 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.6351, allocations: 0 / 1.023 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003264/0.6355, allocations: 223.5 kB / 1.023 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.06e-05/0.6355, allocations: 81.11 kB / 1.023 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.217e-05/0.6355, allocations: 4 kB / 1.023 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001017/0.6356, allocations: 11.92 kB / 1.023 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.129e-05/0.6357, allocations: 7.938 kB / 1.023 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.499e-05/0.6357, allocations: 7.984 kB / 1.023 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.304e-05/0.6358, allocations: 105.7 kB / 1.023 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.6358, allocations: 0 / 1.023 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002423/0.6361, allocations: 19.94 kB / 1.023 GB, free: 12.35 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.0001508/0.6362, allocations: 99.25 kB / 1.023 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002932/0.6365, allocations: 99.92 kB / 1.023 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.6365, allocations: 0 / 1.023 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001193/0.6366, allocations: 59.91 kB / 1.023 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002291/0.6369, allocations: 0 / 1.023 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005028/0.6374, allocations: 278.5 kB / 1.024 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002721/0.6377, allocations: 0.7004 MB / 1.024 GB, free: 11.06 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.824e-05/0.6377, allocations: 11.44 kB / 1.024 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of SimCode: time 3.91e-07/0.6377, allocations: 0 / 1.024 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of Templates: time 0.002804/0.6405, allocations: 1.108 MB / 1.025 GB, free: 9.953 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=480 -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Utilities.Math.Examples.VectorFunctions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches