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: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.VectorFunctions,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Examples_VectorFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.VectorFunctions,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Examples_VectorFunctions",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001115/0.001115, allocations: 108 kB / 15.6 MB, free: 132 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.001251/0.001252, allocations: 192.5 kB / 16.53 MB, free: 6.391 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.308/1.308, allocations: 222.9 MB / 240.2 MB, free: 4.391 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.543/2.543, allocations: 437.1 MB / 0.7104 GB, free: 4.988 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001381/0.001381, allocations: 67.89 kB / 0.8693 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5664/0.5678, allocations: 151.6 MB / 1.017 GB, free: 2.441 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.VectorFunctions): time 0.0028/0.5707, allocations: 1.589 MB / 1.019 GB, free: 0.8438 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0008613/0.5716, allocations: 0.5112 MB / 1.019 GB, free: 332 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.89e-05/0.5716, allocations: 4 kB / 1.019 GB, free: 328 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.000107/0.5718, allocations: 11.86 kB / 1.019 GB, free: 316 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 4.043e-05/0.5718, allocations: 15.81 kB / 1.019 GB, free: 300 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002383/0.5721, allocations: 39.94 kB / 1.02 GB, free: 260 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001106/0.5722, allocations: 75.78 kB / 1.02 GB, free: 184 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001507/0.5723, allocations: 48.14 kB / 1.02 GB, free: 132 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 9.401e-05/0.5724, allocations: 35.84 kB / 1.02 GB, free: 96 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 8.183e-05/0.5725, allocations: 35.84 kB / 1.02 GB, free: 60 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.338e-05/0.5726, allocations: 11.94 kB / 1.02 GB, free: 48 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 6.629e-05/0.5726, allocations: 16 kB / 1.02 GB, free: 32 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 4.262e-05/0.5727, allocations: 23.92 kB / 1.02 GB, free: 8 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 6.478e-05/0.5727, allocations: 39.84 kB / 1.02 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001431/0.5729, allocations: 89.83 kB / 1.02 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.5729, allocations: 0 / 1.02 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.312e-06/0.5729, allocations: 0 / 1.02 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.009e-06/0.5729, allocations: 0 / 1.02 GB, free: 15.88 MB / 0.7794 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.000519/0.5734, allocations: 404.9 kB / 1.02 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.386e-05/0.5735, allocations: 12.03 kB / 1.02 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.817e-05/0.5735, allocations: 42.73 kB / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.425e-05/0.5736, allocations: 12.84 kB / 1.02 GB, free: 15.37 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000205/0.5738, allocations: 193.5 kB / 1.021 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.397e-06/0.5738, allocations: 4.375 kB / 1.021 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.748e-05/0.5738, allocations: 12.31 kB / 1.021 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002538/0.5741, allocations: 105.8 kB / 1.021 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.184e-06/0.5741, allocations: 0 / 1.021 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.35e-05/0.5741, allocations: 4 kB / 1.021 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.5741, allocations: 0 / 1.021 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002336/0.5744, allocations: 107.9 kB / 1.021 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005916/0.575, allocations: 376.6 kB / 1.021 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001441/0.5751, allocations: 62.48 kB / 1.021 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001179/0.5752, allocations: 48.95 kB / 1.021 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.771e-05/0.5753, allocations: 4 kB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.116e-05/0.5753, allocations: 30.56 kB / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=6): time 1.333e-06/0.5753, allocations: 0 / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6): time 0.0004637/0.5758, allocations: 169.5 kB / 1.021 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.207e-05/0.5758, allocations: 55.34 kB / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001099/0.576, allocations: 131.5 kB / 1.022 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.712e-05/0.576, allocations: 25.7 kB / 1.022 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.668e-05/0.576, allocations: 112 kB / 1.022 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.669e-05/0.5761, allocations: 23.66 kB / 1.022 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.378e-05/0.5761, allocations: 21.7 kB / 1.022 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001118/0.5762, allocations: 322.8 kB / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001139/0.5764, allocations: 39.97 kB / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000102/0.5765, allocations: 35.97 kB / 1.022 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002181/0.5767, allocations: 84.81 kB / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.5767, allocations: 3.984 kB / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002789/0.577, allocations: 125.9 kB / 1.022 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.462e-05/0.577, allocations: 8 kB / 1.022 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.577, allocations: 0 / 1.022 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.347e-05/0.577, allocations: 4 kB / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001402/0.5772, allocations: 31.86 kB / 1.022 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.385e-06/0.5772, allocations: 3.984 kB / 1.022 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.289e-05/0.5773, allocations: 8 kB / 1.022 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.12e-05/0.5773, allocations: 4 kB / 1.022 GB, free: 13.08 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 9.451e-05/0.5774, allocations: 121.8 kB / 1.023 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.365e-05/0.5775, allocations: 7.906 kB / 1.023 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003455/0.5778, allocations: 138.3 kB / 1.023 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.542e-06/0.5778, allocations: 3.938 kB / 1.023 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.056e-05/0.5778, allocations: 3.938 kB / 1.023 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.611e-06/0.5778, allocations: 15.92 kB / 1.023 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001997/0.5781, allocations: 201.6 kB / 1.023 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.5781, allocations: 0 / 1.023 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001067/0.5782, allocations: 15.98 kB / 1.023 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.5782, allocations: 0 / 1.023 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.668e-06/0.5782, allocations: 0 / 1.023 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.159e-06/0.5782, allocations: 7.922 kB / 1.023 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.5782, allocations: 4 kB / 1.023 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003351/0.5786, allocations: 219.4 kB / 1.023 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.138e-05/0.5786, allocations: 89 kB / 1.023 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.016e-05/0.5786, allocations: 0 / 1.023 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001054/0.5787, allocations: 7.938 kB / 1.023 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.905e-05/0.5788, allocations: 15.92 kB / 1.023 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.768e-06/0.5788, allocations: 128 / 1.023 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.872e-05/0.5789, allocations: 112.9 kB / 1.023 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5789, allocations: 4 kB / 1.023 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002388/0.5791, allocations: 15.94 kB / 1.023 GB, free: 12.01 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.0006005/0.5797, allocations: 0.7642 MB / 1.024 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002873/0.58, allocations: 107.9 kB / 1.024 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.5801, allocations: 0 / 1.024 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001229/0.5802, allocations: 51.95 kB / 1.024 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002182/0.5804, allocations: 7.938 kB / 1.024 GB, free: 11.06 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001767/0.5822, allocations: 1.588 MB / 1.026 GB, free: 9.391 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002789/0.5825, allocations: 0.7002 MB / 1.026 GB, free: 8.664 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.000117/0.5826, allocations: 15.98 kB / 1.026 GB, free: 8.648 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.508e-05/0.5827, allocations: 31.42 kB / 1.027 GB, free: 8.621 MB / 0.7794 GB Notification: Performance of SimCode: time 5.01e-07/0.5827, allocations: 0 / 1.027 GB, free: 8.621 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01753/0.6002, allocations: 1.96 MB / 1.028 GB, free: 6.73 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.524/8.125, allocations: 4.609 kB / 1.028 GB, free: 6.727 MB / 0.7794 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Utilities.Math.Examples.VectorFunctions_res.mat --tempDir=temp_Buildings_10_Buildings_Utilities_Math_Examples_VectorFunctions_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Utilities_Math_Examples_VectorFunctions.fmu > 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