Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_Buildings_Utilities_Math_Examples_VectorFunctions",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.VectorFunctions,fileNamePrefix="Buildings_latest_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.00556/0.00556, allocations: 102.7 kB / 15.74 MB, free: 5.52 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.001365/0.001365, allocations: 202.8 kB / 16.68 MB, free: 5.445 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.496/1.496, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.836/2.836, allocations: 482.6 MB / 0.7551 GB, free: 6.625 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001893/0.001893, allocations: 73.16 kB / 1.083 GB, free: 13.77 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3134/0.3153, allocations: 162.3 MB / 1.242 GB, free: 8.91 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.VectorFunctions): time 0.003055/0.3184, allocations: 1.598 MB / 1.243 GB, free: 7.301 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0009414/0.3193, allocations: 0.5002 MB / 1.244 GB, free: 6.797 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.047e-05/0.3195, allocations: 0 / 1.244 GB, free: 6.797 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001053/0.3196, allocations: 19.86 kB / 1.244 GB, free: 6.777 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 4.434e-05/0.3196, allocations: 15.8 kB / 1.244 GB, free: 6.762 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002419/0.3199, allocations: 35.95 kB / 1.244 GB, free: 6.727 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001561/0.3201, allocations: 79.7 kB / 1.244 GB, free: 6.648 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001423/0.3202, allocations: 44.2 kB / 1.244 GB, free: 6.605 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 9.819e-05/0.3203, allocations: 35.8 kB / 1.244 GB, free: 6.57 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 8.996e-05/0.3204, allocations: 39.84 kB / 1.244 GB, free: 6.531 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.005e-05/0.3204, allocations: 4 kB / 1.244 GB, free: 6.527 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 6.705e-05/0.3205, allocations: 15.98 kB / 1.244 GB, free: 6.512 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 5.036e-05/0.3206, allocations: 27.91 kB / 1.244 GB, free: 6.484 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 5.058e-05/0.3206, allocations: 43.73 kB / 1.244 GB, free: 6.441 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001702/0.3208, allocations: 91.86 kB / 1.244 GB, free: 6.352 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.3208, allocations: 0 / 1.244 GB, free: 6.352 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.023e-05/0.3208, allocations: 4 kB / 1.244 GB, free: 6.348 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.551e-06/0.3208, allocations: 0 / 1.244 GB, free: 6.348 MB / 0.9669 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.0005742/0.3214, allocations: 404.9 kB / 1.245 GB, free: 5.906 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.906e-05/0.3215, allocations: 8.031 kB / 1.245 GB, free: 5.898 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.744e-05/0.3215, allocations: 42.69 kB / 1.245 GB, free: 5.848 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.329e-05/0.3216, allocations: 8.891 kB / 1.245 GB, free: 5.84 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001909/0.3217, allocations: 206 kB / 1.245 GB, free: 5.602 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.107e-06/0.3218, allocations: 384 / 1.245 GB, free: 5.602 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.866e-05/0.3218, allocations: 8.375 kB / 1.245 GB, free: 5.594 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00026/0.3221, allocations: 109.8 kB / 1.245 GB, free: 5.48 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.3221, allocations: 0 / 1.245 GB, free: 5.48 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.236e-05/0.3221, allocations: 4 kB / 1.245 GB, free: 5.477 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.3221, allocations: 0 / 1.245 GB, free: 5.477 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000242/0.3223, allocations: 103.9 kB / 1.245 GB, free: 5.375 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006016/0.323, allocations: 376.6 kB / 1.246 GB, free: 4.957 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001551/0.3231, allocations: 58.48 kB / 1.246 GB, free: 4.891 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001307/0.3233, allocations: 56.94 kB / 1.246 GB, free: 4.832 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 3.974e-05/0.3233, allocations: 7.984 kB / 1.246 GB, free: 4.824 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.558e-05/0.3233, allocations: 30.56 kB / 1.246 GB, free: 4.785 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=6): time 1.262e-06/0.3234, allocations: 0 / 1.246 GB, free: 4.785 MB / 0.9669 GB Notification: Performance of matching and sorting (n=6): time 0.0004871/0.3238, allocations: 165.5 kB / 1.246 GB, free: 4.617 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.852e-05/0.3239, allocations: 59.34 kB / 1.246 GB, free: 4.547 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001044/0.324, allocations: 129.8 kB / 1.246 GB, free: 4.41 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.494e-05/0.324, allocations: 29.7 kB / 1.246 GB, free: 4.375 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.793e-05/0.3241, allocations: 112.1 kB / 1.246 GB, free: 4.262 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.782e-05/0.3242, allocations: 23.78 kB / 1.246 GB, free: 4.238 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.564e-05/0.3242, allocations: 17.72 kB / 1.246 GB, free: 4.215 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001409/0.3244, allocations: 318.8 kB / 1.247 GB, free: 3.895 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000116/0.3245, allocations: 39.97 kB / 1.247 GB, free: 3.855 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001055/0.3246, allocations: 43.97 kB / 1.247 GB, free: 3.812 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002245/0.3248, allocations: 92.8 kB / 1.247 GB, free: 3.719 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.3248, allocations: 0 / 1.247 GB, free: 3.719 MB / 0.9669 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002871/0.3251, allocations: 125.5 kB / 1.247 GB, free: 3.59 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/0.3251, allocations: 9.547 kB / 1.247 GB, free: 3.582 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.3252, allocations: 4 kB / 1.247 GB, free: 3.578 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.312e-05/0.3252, allocations: 3.938 kB / 1.247 GB, free: 3.574 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001265/0.3253, allocations: 15.98 kB / 1.247 GB, free: 3.559 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.106e-06/0.3253, allocations: 4 kB / 1.247 GB, free: 3.555 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.686e-05/0.3254, allocations: 7.984 kB / 1.247 GB, free: 3.547 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.367e-05/0.3254, allocations: 4 kB / 1.247 GB, free: 3.543 MB / 0.9669 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.412e-05/0.3255, allocations: 113.8 kB / 1.247 GB, free: 3.422 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.387e-05/0.3256, allocations: 7.953 kB / 1.247 GB, free: 3.414 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003524/0.3259, allocations: 162.6 kB / 1.247 GB, free: 3.25 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.201e-06/0.3259, allocations: 7.938 kB / 1.247 GB, free: 3.242 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.3259, allocations: 0 / 1.247 GB, free: 3.242 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.326, allocations: 0 / 1.247 GB, free: 3.242 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002238/0.3262, allocations: 201.6 kB / 1.247 GB, free: 2.996 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.3262, allocations: 0 / 1.247 GB, free: 2.996 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001051/0.3263, allocations: 19.97 kB / 1.247 GB, free: 2.977 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.3263, allocations: 0 / 1.247 GB, free: 2.977 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.126e-05/0.3263, allocations: 8 kB / 1.247 GB, free: 2.969 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.878e-06/0.3263, allocations: 3.938 kB / 1.247 GB, free: 2.965 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.3263, allocations: 0 / 1.247 GB, free: 2.965 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003341/0.3267, allocations: 223.4 kB / 1.248 GB, free: 2.73 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.928e-05/0.3267, allocations: 85.06 kB / 1.248 GB, free: 2.629 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.749e-05/0.3268, allocations: 0 / 1.248 GB, free: 2.629 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001009/0.3269, allocations: 19.92 kB / 1.248 GB, free: 2.609 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.571e-05/0.3269, allocations: 4 kB / 1.248 GB, free: 2.605 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.504e-05/0.3269, allocations: 7.984 kB / 1.248 GB, free: 2.598 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 7.107e-05/0.327, allocations: 99.27 kB / 1.248 GB, free: 2.5 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.1e-07/0.327, allocations: 0 / 1.248 GB, free: 2.5 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002373/0.3273, allocations: 15.95 kB / 1.248 GB, free: 2.484 MB / 0.9669 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.0006902/0.328, allocations: 0.7637 MB / 1.249 GB, free: 1.695 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002855/0.3283, allocations: 107.9 kB / 1.249 GB, free: 1.59 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.3283, allocations: 0 / 1.249 GB, free: 1.59 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001302/0.3284, allocations: 55.91 kB / 1.249 GB, free: 1.535 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002118/0.3286, allocations: 9.969 kB / 1.249 GB, free: 1.527 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00192/0.3306, allocations: 1.6 MB / 1.25 GB, free: 15.84 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003445/0.3309, allocations: 0.704 MB / 1.251 GB, free: 15.11 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001126/0.331, allocations: 19.97 kB / 1.251 GB, free: 15.09 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.439e-05/0.3311, allocations: 23.44 kB / 1.251 GB, free: 15.07 MB / 0.9825 GB Notification: Performance of SimCode: time 2.5e-07/0.3311, allocations: 0 / 1.251 GB, free: 15.07 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1626/0.4937, allocations: 2.002 MB / 1.253 GB, free: 13.16 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.397/8.891, allocations: 11.39 kB / 1.253 GB, free: 13.15 MB / 0.9825 GB (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.VectorFunctions.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.VectorFunctions.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.VectorFunctions.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.VectorFunctions.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Examples.VectorFunctions_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Examples_VectorFunctions_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Examples_VectorFunctions.fmu > Buildings_latest_Buildings.Utilities.Math.Examples.VectorFunctions.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.VectorFunctions_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_VectorFunctions.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.VectorFunctions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches