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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008831/0.0008831, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008522/0.0008522, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9245/0.9245, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.838/1.838, allocations: 389 MB / 0.633 GB, free: 12.68 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.963e-06/1.963e-06, allocations: 0 / 0.9997 GB, free: 13.52 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.94e-05/2.136e-05, allocations: 6.281 kB / 0.9997 GB, free: 13.52 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.VectorFunctions): time 0.003078/0.0031, allocations: 1.599 MB / 1.001 GB, free: 11.91 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001057/0.004157, allocations: 0.5734 MB / 1.002 GB, free: 11.33 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.954e-05/0.004237, allocations: 3.938 kB / 1.002 GB, free: 11.33 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0001119/0.004348, allocations: 15.86 kB / 1.002 GB, free: 11.31 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 4.102e-05/0.004389, allocations: 11.81 kB / 1.002 GB, free: 11.3 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003436/0.004733, allocations: 55.86 kB / 1.002 GB, free: 11.25 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001568/0.00489, allocations: 91.69 kB / 1.002 GB, free: 11.16 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001567/0.005046, allocations: 35.91 kB / 1.002 GB, free: 11.12 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000181/0.005227, allocations: 55.88 kB / 1.002 GB, free: 11.07 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 8.388e-05/0.005311, allocations: 35.89 kB / 1.002 GB, free: 11.03 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.06e-05/0.005332, allocations: 11.94 kB / 1.002 GB, free: 11.02 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 7.48e-05/0.005407, allocations: 15.98 kB / 1.002 GB, free: 11 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 4.144e-05/0.005448, allocations: 19.92 kB / 1.002 GB, free: 10.98 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 4.426e-05/0.005492, allocations: 35.84 kB / 1.002 GB, free: 10.95 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001765/0.005669, allocations: 91.69 kB / 1.002 GB, free: 10.86 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.005672, allocations: 0 / 1.002 GB, free: 10.86 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.303e-06/0.005673, allocations: 0 / 1.002 GB, free: 10.86 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 6.392e-06/0.00568, allocations: 4 kB / 1.002 GB, free: 10.86 MB / 0.9636 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.0005185/0.006198, allocations: 337.8 kB / 1.003 GB, free: 10.5 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.57e-05/0.006244, allocations: 12.75 kB / 1.003 GB, free: 10.48 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.308e-05/0.006287, allocations: 38.73 kB / 1.003 GB, free: 10.44 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000254/0.006541, allocations: 44.8 kB / 1.003 GB, free: 10.39 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002357/0.006777, allocations: 144.2 kB / 1.003 GB, free: 10.23 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.54e-05/0.006792, allocations: 8.375 kB / 1.003 GB, free: 10.22 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.463e-05/0.006807, allocations: 8.375 kB / 1.003 GB, free: 10.21 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002562/0.007063, allocations: 109.9 kB / 1.003 GB, free: 10.1 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.207e-06/0.007072, allocations: 0 / 1.003 GB, free: 10.1 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.154e-05/0.007084, allocations: 4 kB / 1.003 GB, free: 10.1 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.563e-06/0.00709, allocations: 3.984 kB / 1.003 GB, free: 10.09 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002154/0.007306, allocations: 95.94 kB / 1.003 GB, free: 10 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005689/0.007875, allocations: 339.7 kB / 1.003 GB, free: 9.625 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001371/0.008012, allocations: 58.48 kB / 1.003 GB, free: 9.559 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001002/0.008112, allocations: 48.95 kB / 1.003 GB, free: 9.508 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 3.772e-05/0.00815, allocations: 4 kB / 1.003 GB, free: 9.504 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.188e-05/0.008172, allocations: 30.56 kB / 1.003 GB, free: 9.465 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=6): time 1.743e-06/0.008173, allocations: 0 / 1.003 GB, free: 9.465 MB / 0.9636 GB Notification: Performance of matching and sorting (n=6): time 0.000437/0.00861, allocations: 173.7 kB / 1.004 GB, free: 9.289 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.775e-05/0.008648, allocations: 51.41 kB / 1.004 GB, free: 9.227 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001187/0.008767, allocations: 144.6 kB / 1.004 GB, free: 9.078 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.581e-05/0.008783, allocations: 25.7 kB / 1.004 GB, free: 9.047 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 6.532e-05/0.008848, allocations: 104.1 kB / 1.004 GB, free: 8.941 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.992e-05/0.008878, allocations: 27.88 kB / 1.004 GB, free: 8.914 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.96e-05/0.008927, allocations: 21.7 kB / 1.004 GB, free: 8.887 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001081/0.009035, allocations: 326.8 kB / 1.004 GB, free: 8.559 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.872e-05/0.009134, allocations: 35.97 kB / 1.004 GB, free: 8.523 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.849e-05/0.009223, allocations: 43.97 kB / 1.004 GB, free: 8.48 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001938/0.009416, allocations: 88.8 kB / 1.004 GB, free: 8.391 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.009419, allocations: 0 / 1.004 GB, free: 8.391 MB / 0.9636 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002603/0.00968, allocations: 121.6 kB / 1.005 GB, free: 8.266 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.781e-05/0.009697, allocations: 8 kB / 1.005 GB, free: 8.258 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.002e-06/0.009703, allocations: 0 / 1.005 GB, free: 8.258 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.561e-05/0.009719, allocations: 11.88 kB / 1.005 GB, free: 8.246 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001338/0.009853, allocations: 23.91 kB / 1.005 GB, free: 8.223 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.009859, allocations: 0 / 1.005 GB, free: 8.223 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.419e-05/0.009913, allocations: 7.953 kB / 1.005 GB, free: 8.215 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.447e-05/0.009938, allocations: 7.984 kB / 1.005 GB, free: 8.207 MB / 0.9636 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.167e-05/0.01003, allocations: 121.8 kB / 1.005 GB, free: 8.078 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.512e-05/0.01006, allocations: 7.953 kB / 1.005 GB, free: 8.07 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003375/0.0104, allocations: 138.4 kB / 1.005 GB, free: 7.926 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/0.01041, allocations: 7.938 kB / 1.005 GB, free: 7.918 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.01041, allocations: 0 / 1.005 GB, free: 7.918 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.01042, allocations: 3.984 kB / 1.005 GB, free: 7.914 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002088/0.01063, allocations: 165 kB / 1.005 GB, free: 7.711 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.01063, allocations: 0 / 1.005 GB, free: 7.711 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001007/0.01073, allocations: 27.92 kB / 1.005 GB, free: 7.684 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/0.01073, allocations: 0 / 1.005 GB, free: 7.684 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.124e-05/0.01074, allocations: 4 kB / 1.005 GB, free: 7.68 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.68e-06/0.01075, allocations: 3.938 kB / 1.005 GB, free: 7.676 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.01075, allocations: 4 kB / 1.005 GB, free: 7.672 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002892/0.01104, allocations: 219.4 kB / 1.005 GB, free: 7.441 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.856e-05/0.01106, allocations: 15.84 kB / 1.005 GB, free: 7.426 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.818e-05/0.01108, allocations: 0 / 1.005 GB, free: 7.426 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.602e-05/0.01117, allocations: 15.92 kB / 1.005 GB, free: 7.41 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.896e-05/0.01122, allocations: 7.984 kB / 1.005 GB, free: 7.402 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.184e-05/0.01123, allocations: 0 / 1.005 GB, free: 7.402 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 7.177e-05/0.0113, allocations: 107.2 kB / 1.005 GB, free: 7.297 MB / 0.9636 GB Notification: Performance of sort global known variables: time 1.1e-07/0.0113, allocations: 8 kB / 1.005 GB, free: 7.289 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0003002/0.0116, allocations: 12 kB / 1.005 GB, free: 7.277 MB / 0.9636 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.0006212/0.01223, allocations: 0.7631 MB / 1.006 GB, free: 6.484 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0002619/0.01249, allocations: 95.88 kB / 1.006 GB, free: 6.391 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.01249, allocations: 4 kB / 1.006 GB, free: 6.387 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0001137/0.0126, allocations: 55.95 kB / 1.006 GB, free: 6.332 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000273/0.01288, allocations: 10.17 kB / 1.006 GB, free: 6.324 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001821/0.0147, allocations: 1.62 MB / 1.008 GB, free: 4.621 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.57e-05/0.01478, allocations: 96.3 kB / 1.008 GB, free: 4.508 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 8.441e-05/0.01487, allocations: 16.36 kB / 1.008 GB, free: 4.492 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.645e-05/0.01493, allocations: 32.48 kB / 1.008 GB, free: 4.461 MB / 0.9636 GB Notification: Performance of SimCode: time 5.61e-07/0.01493, allocations: 0 / 1.008 GB, free: 4.461 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02154/0.03647, allocations: 2.74 MB / 1.011 GB, free: 1.859 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.968/7.004, allocations: 10.12 kB / 1.011 GB, free: 1.852 MB / 0.9636 GB " [Timeout remaining time 293] (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 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Utilities_Math_Examples_VectorFunctions.fmu > Buildings_latest_Buildings.Utilities.Math.Examples.VectorFunctions.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.VectorFunctions_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_VectorFunctions.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.VectorFunctions.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.203692939132452]