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.001163/0.001163, allocations: 105.3 kB / 16.35 MB, free: 5.824 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.001128/0.001128, allocations: 190.5 kB / 17.29 MB, free: 5.48 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.204/1.204, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 1.999/1.999, allocations: 390.3 MB / 0.6655 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001139/0.001139, allocations: 71.83 kB / 0.814 GB, free: 32.66 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2181/0.2193, allocations: 140.4 MB / 0.9511 GB, free: 8.059 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.VectorFunctions): time 0.002515/0.2219, allocations: 1.602 MB / 0.9527 GB, free: 6.449 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0007753/0.2226, allocations: 0.4958 MB / 0.9532 GB, free: 5.945 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.675e-05/0.2227, allocations: 0 / 0.9532 GB, free: 5.945 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0001011/0.2228, allocations: 11.88 kB / 0.9532 GB, free: 5.934 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 3.389e-05/0.2229, allocations: 19.8 kB / 0.9532 GB, free: 5.914 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.000221/0.2231, allocations: 35.95 kB / 0.9532 GB, free: 5.879 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001021/0.2232, allocations: 79.7 kB / 0.9533 GB, free: 5.801 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001457/0.2233, allocations: 44.2 kB / 0.9533 GB, free: 5.754 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 9.139e-05/0.2234, allocations: 39.78 kB / 0.9534 GB, free: 5.715 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 7.471e-05/0.2235, allocations: 39.84 kB / 0.9534 GB, free: 5.676 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.719e-05/0.2236, allocations: 12 kB / 0.9534 GB, free: 5.664 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 5.645e-05/0.2236, allocations: 8 kB / 0.9534 GB, free: 5.656 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 4.155e-05/0.2237, allocations: 27.91 kB / 0.9535 GB, free: 5.629 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.83e-05/0.2237, allocations: 39.73 kB / 0.9535 GB, free: 5.59 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001423/0.2239, allocations: 87.64 kB / 0.9536 GB, free: 5.504 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.2239, allocations: 3.938 kB / 0.9536 GB, free: 5.5 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.012e-06/0.2239, allocations: 0 / 0.9536 GB, free: 5.5 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.734e-06/0.2239, allocations: 0 / 0.9536 GB, free: 5.5 MB / 0.7325 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.0004745/0.2244, allocations: 415 kB / 0.954 GB, free: 5.047 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 2.855e-05/0.2244, allocations: 8.031 kB / 0.954 GB, free: 5.039 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.046e-05/0.2245, allocations: 8.844 kB / 0.954 GB, free: 5.031 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00015/0.2246, allocations: 200 kB / 0.9542 GB, free: 4.797 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.869e-05/0.2246, allocations: 8.375 kB / 0.9542 GB, free: 4.789 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.264e-05/0.2247, allocations: 4.375 kB / 0.9542 GB, free: 4.785 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002166/0.2249, allocations: 108.8 kB / 0.9543 GB, free: 4.676 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.983e-06/0.2249, allocations: 0 / 0.9543 GB, free: 4.676 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.104e-05/0.2249, allocations: 4 kB / 0.9543 GB, free: 4.672 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.2249, allocations: 8 kB / 0.9543 GB, free: 4.664 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001944/0.2251, allocations: 91.88 kB / 0.9544 GB, free: 4.574 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005034/0.2256, allocations: 376.6 kB / 0.9548 GB, free: 4.156 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001312/0.2258, allocations: 66.48 kB / 0.9548 GB, free: 4.082 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.586e-05/0.2259, allocations: 48.94 kB / 0.9549 GB, free: 4.031 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.931e-05/0.2259, allocations: 8 kB / 0.9549 GB, free: 4.023 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.687e-05/0.2259, allocations: 34.55 kB / 0.9549 GB, free: 3.98 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=6): time 1.052e-06/0.2259, allocations: 0 / 0.9549 GB, free: 3.98 MB / 0.7325 GB Notification: Performance of matching and sorting (n=6): time 0.0003971/0.2263, allocations: 169.5 kB / 0.9551 GB, free: 3.809 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.13e-05/0.2264, allocations: 55.34 kB / 0.9551 GB, free: 3.742 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.852e-05/0.2265, allocations: 139.8 kB / 0.9553 GB, free: 3.598 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.463e-05/0.2265, allocations: 25.7 kB / 0.9553 GB, free: 3.566 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.798e-05/0.2266, allocations: 100 kB / 0.9554 GB, free: 3.465 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.87e-05/0.2266, allocations: 27.78 kB / 0.9554 GB, free: 3.438 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.787e-05/0.2266, allocations: 17.72 kB / 0.9554 GB, free: 3.414 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001115/0.2267, allocations: 318.8 kB / 0.9557 GB, free: 3.094 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.766e-05/0.2269, allocations: 43.97 kB / 0.9558 GB, free: 3.051 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.859e-05/0.2269, allocations: 39.97 kB / 0.9558 GB, free: 3.012 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001864/0.2271, allocations: 88.8 kB / 0.9559 GB, free: 2.922 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.2271, allocations: 0 / 0.9559 GB, free: 2.922 MB / 0.7325 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002552/0.2274, allocations: 129.5 kB / 0.956 GB, free: 2.789 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/0.2274, allocations: 7.984 kB / 0.956 GB, free: 2.781 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.499e-06/0.2274, allocations: 0 / 0.956 GB, free: 2.781 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.63e-05/0.2275, allocations: 0 / 0.956 GB, free: 2.781 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001255/0.2276, allocations: 27.86 kB / 0.956 GB, free: 2.754 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.2276, allocations: 0 / 0.956 GB, free: 2.754 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.372e-05/0.2277, allocations: 11.98 kB / 0.9561 GB, free: 2.742 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.901e-05/0.2277, allocations: 4 kB / 0.9561 GB, free: 2.738 MB / 0.7325 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.032e-05/0.2278, allocations: 121.8 kB / 0.9562 GB, free: 2.609 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.857e-05/0.2278, allocations: 7.906 kB / 0.9562 GB, free: 2.602 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003122/0.2281, allocations: 146.2 kB / 0.9563 GB, free: 2.449 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.975e-06/0.2282, allocations: 7.938 kB / 0.9563 GB, free: 2.441 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.2282, allocations: 0.5 kB / 0.9563 GB, free: 2.441 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.2282, allocations: 0 / 0.9563 GB, free: 2.441 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001976/0.2284, allocations: 209.5 kB / 0.9565 GB, free: 2.188 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.2284, allocations: 4 kB / 0.9565 GB, free: 2.184 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.221e-05/0.2285, allocations: 23.97 kB / 0.9566 GB, free: 2.16 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.2285, allocations: 4 kB / 0.9566 GB, free: 2.156 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.947e-06/0.2285, allocations: 0 / 0.9566 GB, free: 2.156 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.604e-06/0.2285, allocations: 3.938 kB / 0.9566 GB, free: 2.152 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.2285, allocations: 0 / 0.9566 GB, free: 2.152 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002732/0.2288, allocations: 219.3 kB / 0.9568 GB, free: 1.922 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.803e-05/0.2288, allocations: 93.02 kB / 0.9569 GB, free: 1.812 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.631e-05/0.2289, allocations: 0 / 0.9569 GB, free: 1.812 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.305e-05/0.229, allocations: 11.92 kB / 0.9569 GB, free: 1.801 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.402e-05/0.229, allocations: 4 kB / 0.9569 GB, free: 1.797 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.223e-05/0.229, allocations: 7.984 kB / 0.9569 GB, free: 1.789 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 6.015e-05/0.2291, allocations: 105.4 kB / 0.957 GB, free: 1.688 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2291, allocations: 0 / 0.957 GB, free: 1.688 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002191/0.2293, allocations: 16 kB / 0.957 GB, free: 1.672 MB / 0.7325 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.0001226/0.2294, allocations: 103.2 kB / 0.9571 GB, free: 1.559 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002539/0.2297, allocations: 95.92 kB / 0.9572 GB, free: 1.465 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.2297, allocations: 0 / 0.9572 GB, free: 1.465 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001051/0.2298, allocations: 59.91 kB / 0.9573 GB, free: 1.406 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000207/0.23, allocations: 4 kB / 0.9573 GB, free: 1.402 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003869/0.2304, allocations: 215.1 kB / 0.9575 GB, free: 1.164 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002598/0.2307, allocations: 0.7002 MB / 0.9581 GB, free: 448 kB / 0.7325 GB Notification: Performance of simCode: alias equations: time 7.599e-05/0.2308, allocations: 11.98 kB / 0.9582 GB, free: 436 kB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.707e-05/0.2308, allocations: 15.38 kB / 0.9582 GB, free: 424 kB / 0.7325 GB Notification: Performance of SimCode: time 2.41e-07/0.2308, allocations: 0 / 0.9582 GB, free: 424 kB / 0.7325 GB Notification: Performance of Templates: time 0.002591/0.2334, allocations: 0.7239 MB / 0.9589 GB, free: 15.69 MB / 0.7481 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 -s cvode -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