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.001169/0.001169, allocations: 114.3 kB / 16.37 MB, free: 6.008 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.001115/0.001115, allocations: 189 kB / 17.3 MB, free: 5.621 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.303/1.303, 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 10.1.0-maint.10.0.x/package.mo): time 2.419/2.419, allocations: 437.1 MB / 0.7112 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001291/0.001291, allocations: 68.08 kB / 0.8707 GB, free: 1.48 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2638/0.2651, allocations: 151.6 MB / 1.019 GB, free: 9.891 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.VectorFunctions): time 0.002661/0.2678, allocations: 1.604 MB / 1.02 GB, free: 8.27 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.000791/0.2686, allocations: 0.5126 MB / 1.021 GB, free: 7.75 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.72e-05/0.2686, allocations: 4 kB / 1.021 GB, free: 7.746 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 9.097e-05/0.2687, allocations: 11.86 kB / 1.021 GB, free: 7.734 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 3.114e-05/0.2688, allocations: 7.875 kB / 1.021 GB, free: 7.727 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002163/0.269, allocations: 43.88 kB / 1.021 GB, free: 7.684 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001165/0.2691, allocations: 87.7 kB / 1.021 GB, free: 7.598 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001464/0.2693, allocations: 36.22 kB / 1.021 GB, free: 7.559 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 8.244e-05/0.2694, allocations: 39.91 kB / 1.021 GB, free: 7.52 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 7.753e-05/0.2695, allocations: 39.83 kB / 1.021 GB, free: 7.48 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.687e-05/0.2695, allocations: 7.938 kB / 1.021 GB, free: 7.473 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 6.255e-05/0.2696, allocations: 16 kB / 1.021 GB, free: 7.457 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 4.214e-05/0.2696, allocations: 23.91 kB / 1.021 GB, free: 7.434 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 5.232e-05/0.2697, allocations: 35.73 kB / 1.021 GB, free: 7.398 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001361/0.2698, allocations: 91.64 kB / 1.021 GB, free: 7.309 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.93e-06/0.2698, allocations: 8 kB / 1.021 GB, free: 7.301 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.492e-06/0.2698, allocations: 0 / 1.021 GB, free: 7.301 MB / 0.795 GB Notification: Performance of Transformations before backend: time 4.559e-06/0.2698, allocations: 0 / 1.021 GB, free: 7.301 MB / 0.795 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.0005259/0.2704, allocations: 403.1 kB / 1.022 GB, free: 6.859 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.187e-05/0.2704, allocations: 8.031 kB / 1.022 GB, free: 6.852 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.861e-05/0.2704, allocations: 12.84 kB / 1.022 GB, free: 6.84 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001666/0.2706, allocations: 195.2 kB / 1.022 GB, free: 6.613 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.082e-05/0.2706, allocations: 4.375 kB / 1.022 GB, free: 6.609 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.715e-05/0.2707, allocations: 4.375 kB / 1.022 GB, free: 6.605 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002439/0.2709, allocations: 109.9 kB / 1.022 GB, free: 6.492 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.2709, allocations: 0 / 1.022 GB, free: 6.492 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.201e-05/0.2709, allocations: 8 kB / 1.022 GB, free: 6.484 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.2709, allocations: 0 / 1.022 GB, free: 6.484 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002251/0.2712, allocations: 99.92 kB / 1.022 GB, free: 6.387 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000558/0.2717, allocations: 376.5 kB / 1.022 GB, free: 5.969 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001422/0.2719, allocations: 62.55 kB / 1.023 GB, free: 5.898 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000106/0.272, allocations: 52.89 kB / 1.023 GB, free: 5.844 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 3.331e-05/0.2721, allocations: 0 / 1.023 GB, free: 5.844 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.115e-05/0.2721, allocations: 42.48 kB / 1.023 GB, free: 5.793 MB / 0.795 GB Notification: Performance of pre-optimization done (n=6): time 1.032e-06/0.2721, allocations: 0 / 1.023 GB, free: 5.793 MB / 0.795 GB Notification: Performance of matching and sorting (n=6): time 0.0004276/0.2725, allocations: 161.5 kB / 1.023 GB, free: 5.629 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.11e-05/0.2726, allocations: 55.41 kB / 1.023 GB, free: 5.562 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.679e-05/0.2727, allocations: 133.8 kB / 1.023 GB, free: 5.422 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.52e-05/0.2727, allocations: 25.7 kB / 1.023 GB, free: 5.391 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 5.137e-05/0.2727, allocations: 104 kB / 1.023 GB, free: 5.285 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.58e-05/0.2728, allocations: 19.8 kB / 1.023 GB, free: 5.266 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.176e-05/0.2728, allocations: 21.7 kB / 1.023 GB, free: 5.238 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 9.229e-05/0.2729, allocations: 330.8 kB / 1.023 GB, free: 4.906 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001062/0.273, allocations: 39.91 kB / 1.023 GB, free: 4.867 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.16e-05/0.2731, allocations: 39.97 kB / 1.023 GB, free: 4.828 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001989/0.2733, allocations: 93.17 kB / 1.024 GB, free: 4.734 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.2733, allocations: 0 / 1.024 GB, free: 4.734 MB / 0.795 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000251/0.2736, allocations: 125.5 kB / 1.024 GB, free: 4.605 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.221e-05/0.2736, allocations: 4 kB / 1.024 GB, free: 4.602 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.2736, allocations: 4 kB / 1.024 GB, free: 4.598 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.888e-06/0.2736, allocations: 0 / 1.024 GB, free: 4.598 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001826/0.2738, allocations: 27.84 kB / 1.024 GB, free: 4.57 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/0.2738, allocations: 0 / 1.024 GB, free: 4.57 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.106e-05/0.2739, allocations: 12 kB / 1.024 GB, free: 4.559 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.094e-05/0.274, allocations: 7.984 kB / 1.024 GB, free: 4.551 MB / 0.795 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 7.486e-05/0.274, allocations: 117.8 kB / 1.024 GB, free: 4.426 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.168e-05/0.2741, allocations: 7.906 kB / 1.024 GB, free: 4.418 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003347/0.2744, allocations: 146.3 kB / 1.024 GB, free: 4.27 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.838e-06/0.2744, allocations: 3.938 kB / 1.024 GB, free: 4.266 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.2744, allocations: 0 / 1.024 GB, free: 4.266 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.2744, allocations: 3.984 kB / 1.024 GB, free: 4.262 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001997/0.2746, allocations: 209.5 kB / 1.024 GB, free: 4.008 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.2747, allocations: 8 kB / 1.024 GB, free: 4 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001051/0.2748, allocations: 19.92 kB / 1.024 GB, free: 3.98 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.2748, allocations: 0 / 1.024 GB, free: 3.98 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.115e-05/0.2748, allocations: 3.984 kB / 1.024 GB, free: 3.977 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.627e-06/0.2748, allocations: 3.938 kB / 1.024 GB, free: 3.973 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.2748, allocations: 0 / 1.024 GB, free: 3.973 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002959/0.2751, allocations: 227.5 kB / 1.024 GB, free: 3.734 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 4.231e-05/0.2752, allocations: 85 kB / 1.025 GB, free: 3.633 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.934e-05/0.2752, allocations: 4 kB / 1.025 GB, free: 3.629 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001027/0.2753, allocations: 7.938 kB / 1.025 GB, free: 3.621 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.6e-05/0.2754, allocations: 11.98 kB / 1.025 GB, free: 3.609 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.808e-06/0.2754, allocations: 0 / 1.025 GB, free: 3.609 MB / 0.795 GB Notification: Performance of sorting global known variables: time 6.25e-05/0.2754, allocations: 109.6 kB / 1.025 GB, free: 3.504 MB / 0.795 GB Notification: Performance of sort global known variables: time 2.01e-07/0.2754, allocations: 7.875 kB / 1.025 GB, free: 3.496 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002379/0.2757, allocations: 12 kB / 1.025 GB, free: 3.484 MB / 0.795 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.0001337/0.2758, allocations: 107.2 kB / 1.025 GB, free: 3.371 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0002604/0.2761, allocations: 95.94 kB / 1.025 GB, free: 3.277 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.2761, allocations: 0 / 1.025 GB, free: 3.277 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001157/0.2762, allocations: 55.89 kB / 1.025 GB, free: 3.223 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002169/0.2765, allocations: 4 kB / 1.025 GB, free: 3.219 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004176/0.2769, allocations: 211.3 kB / 1.025 GB, free: 2.984 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002583/0.2772, allocations: 0.699 MB / 1.026 GB, free: 2.262 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 9.399e-05/0.2773, allocations: 15.97 kB / 1.026 GB, free: 2.246 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.365e-05/0.2773, allocations: 15.44 kB / 1.026 GB, free: 2.23 MB / 0.795 GB Notification: Performance of SimCode: time 2.71e-07/0.2773, allocations: 0 / 1.026 GB, free: 2.23 MB / 0.795 GB Notification: Performance of Templates: time 0.002965/0.2803, allocations: 0.7206 MB / 1.027 GB, free: 1.516 MB / 0.795 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 -s gbode -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