Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Time.Examples.ModelTime.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.001159/0.001159, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.0009933/0.0009933, 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.9099/0.9099, allocations: 177.1 MB / 202.8 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.71/1.71, allocations: 359 MB / 0.6037 GB, free: 11.09 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/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.Time.Examples.ModelTime,fileNamePrefix="Buildings_11_Buildings_Utilities_Time_Examples_ModelTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Time.Examples.ModelTime,fileNamePrefix="Buildings_11_Buildings_Utilities_Time_Examples_ModelTime",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 0.9505 GB, free: 3.555 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.112e-05/2.258e-05, allocations: 2.281 kB / 0.9505 GB, free: 3.551 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.ModelTime): time 0.00186/0.001882, allocations: 0.5924 MB / 0.951 GB, free: 2.953 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 4.642e-05/0.001929, allocations: 7.984 kB / 0.951 GB, free: 2.945 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.988e-05/0.001949, allocations: 0 / 0.951 GB, free: 2.945 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 3.144e-05/0.00198, allocations: 0 / 0.951 GB, free: 2.945 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 7.073e-06/0.001987, allocations: 3.938 kB / 0.951 GB, free: 2.941 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 3.775e-05/0.002025, allocations: 4 kB / 0.9511 GB, free: 2.938 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 5.951e-05/0.002085, allocations: 0 / 0.9511 GB, free: 2.938 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 5.304e-05/0.002138, allocations: 4 kB / 0.9511 GB, free: 2.934 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 3.356e-05/0.002171, allocations: 0 / 0.9511 GB, free: 2.934 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 2.184e-05/0.002193, allocations: 3.984 kB / 0.9511 GB, free: 2.93 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.968e-05/0.002213, allocations: 0 / 0.9511 GB, free: 2.93 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 3.266e-06/0.002216, allocations: 4 kB / 0.9511 GB, free: 2.926 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.42e-05/0.00223, allocations: 3.938 kB / 0.9511 GB, free: 2.922 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 1.785e-05/0.002248, allocations: 0 / 0.9511 GB, free: 2.922 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 5.546e-05/0.002303, allocations: 0 / 0.9511 GB, free: 2.922 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.365e-06/0.002306, allocations: 0 / 0.9511 GB, free: 2.922 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.232e-06/0.002307, allocations: 0 / 0.9511 GB, free: 2.922 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.298e-06/0.002311, allocations: 0 / 0.9511 GB, free: 2.922 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002532/0.002564, allocations: 238.5 kB / 0.9513 GB, free: 2.656 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.364e-05/0.002608, allocations: 8.031 kB / 0.9513 GB, free: 2.648 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.223e-05/0.00264, allocations: 38.69 kB / 0.9513 GB, free: 2.602 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.453e-05/0.002665, allocations: 4.922 kB / 0.9513 GB, free: 2.598 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.647e-05/0.002731, allocations: 101.8 kB / 0.9514 GB, free: 2.473 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.25e-05/0.002744, allocations: 384 / 0.9514 GB, free: 2.473 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.315e-06/0.002752, allocations: 384 / 0.9514 GB, free: 2.473 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.604e-05/0.002838, allocations: 34.25 kB / 0.9515 GB, free: 2.434 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-06/0.002847, allocations: 4.125 kB / 0.9515 GB, free: 2.43 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.914e-06/0.002855, allocations: 384 / 0.9515 GB, free: 2.43 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.572e-06/0.002862, allocations: 8.125 kB / 0.9515 GB, free: 2.422 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.833e-05/0.00288, allocations: 0 / 0.9515 GB, free: 2.422 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000157/0.003037, allocations: 128.7 kB / 0.9516 GB, free: 2.254 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 4.036e-05/0.003077, allocations: 14.58 kB / 0.9516 GB, free: 2.23 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.25e-05/0.0031, allocations: 12.94 kB / 0.9516 GB, free: 2.215 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 9.778e-06/0.00311, allocations: 0 / 0.9516 GB, free: 2.215 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.059e-05/0.00313, allocations: 30.56 kB / 0.9517 GB, free: 2.176 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=1): time 6.01e-07/0.003131, allocations: 0 / 0.9517 GB, free: 2.176 MB / 0.9011 GB Notification: Performance of matching and sorting (n=1): time 0.0001215/0.003252, allocations: 41.64 kB / 0.9517 GB, free: 2.129 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.416e-05/0.003286, allocations: 55.47 kB / 0.9518 GB, free: 2.062 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.821e-05/0.003315, allocations: 93.86 kB / 0.9518 GB, free: 1.961 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 1.098e-05/0.003326, allocations: 25.7 kB / 0.9519 GB, free: 1.93 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 2.543e-05/0.003351, allocations: 80.14 kB / 0.9519 GB, free: 1.848 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 2.609e-05/0.003377, allocations: 0 / 0.9519 GB, free: 1.848 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.777e-05/0.003405, allocations: 13.72 kB / 0.952 GB, free: 1.828 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 9.149e-05/0.003496, allocations: 318.8 kB / 0.9523 GB, free: 1.508 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.789e-06/0.003506, allocations: 0 / 0.9523 GB, free: 1.508 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.342e-06/0.003513, allocations: 7.938 kB / 0.9523 GB, free: 1.5 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.579e-05/0.003538, allocations: 8.797 kB / 0.9523 GB, free: 1.488 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.00354, allocations: 4.062 kB / 0.9523 GB, free: 1.484 MB / 0.9011 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.192e-05/0.003592, allocations: 33.7 kB / 0.9523 GB, free: 1.445 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.324e-05/0.003605, allocations: 4 kB / 0.9523 GB, free: 1.441 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.003611, allocations: 0 / 0.9523 GB, free: 1.441 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.166e-05/0.003622, allocations: 0 / 0.9523 GB, free: 1.441 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.782e-05/0.00368, allocations: 4 kB / 0.9523 GB, free: 1.438 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.003687, allocations: 3.938 kB / 0.9523 GB, free: 1.434 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.749e-06/0.003696, allocations: 0 / 0.9523 GB, free: 1.434 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.089e-06/0.003702, allocations: 0 / 0.9523 GB, free: 1.434 MB / 0.9011 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 (1): * Single equations (assignments): 1 * 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 5.98e-05/0.003761, allocations: 113.8 kB / 0.9524 GB, free: 1.312 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.753e-06/0.003768, allocations: 8.031 kB / 0.9524 GB, free: 1.305 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.495e-05/0.003783, allocations: 3 kB / 0.9524 GB, free: 1.305 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.003785, allocations: 0 / 0.9524 GB, free: 1.305 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.209e-06/0.00379, allocations: 3.938 kB / 0.9525 GB, free: 1.301 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.003793, allocations: 0 / 0.9525 GB, free: 1.301 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.098e-05/0.003854, allocations: 116.7 kB / 0.9526 GB, free: 1.145 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.003855, allocations: 0 / 0.9526 GB, free: 1.145 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.273e-05/0.003868, allocations: 11.92 kB / 0.9526 GB, free: 1.133 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.00387, allocations: 0 / 0.9526 GB, free: 1.133 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.49e-06/0.003875, allocations: 0 / 0.9526 GB, free: 1.133 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.52e-07/0.003876, allocations: 0 / 0.9526 GB, free: 1.133 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.003878, allocations: 7.938 kB / 0.9526 GB, free: 1.125 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.125e-05/0.003939, allocations: 57.14 kB / 0.9526 GB, free: 1.051 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 5.34e-06/0.003945, allocations: 0 / 0.9526 GB, free: 1.051 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.947e-06/0.003954, allocations: 0 / 0.9526 GB, free: 1.051 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.911e-06/0.00396, allocations: 4 kB / 0.9526 GB, free: 1.047 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.339e-05/0.003973, allocations: 7.922 kB / 0.9526 GB, free: 1.039 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.064e-06/0.003975, allocations: 0 / 0.9526 GB, free: 1.039 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 2.239e-05/0.003997, allocations: 75.28 kB / 0.9527 GB, free: 0.9648 MB / 0.9011 GB Notification: Performance of sort global known variables: time 8e-08/0.003998, allocations: 0 / 0.9527 GB, free: 0.9648 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.000195/0.004193, allocations: 0 / 0.9527 GB, free: 0.9648 MB / 0.9011 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 (1): * Single equations (assignments): 1 * 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.0003519/0.004544, allocations: 0.5929 MB / 0.9533 GB, free: 348 kB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 6.557e-05/0.00461, allocations: 4 kB / 0.9533 GB, free: 344 kB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.004612, allocations: 0 / 0.9533 GB, free: 344 kB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 3.667e-06/0.004616, allocations: 7.938 kB / 0.9533 GB, free: 336 kB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001406/0.004756, allocations: 3.938 kB / 0.9533 GB, free: 332 kB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000295/0.005051, allocations: 110.5 kB / 0.9534 GB, free: 180 kB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.892e-05/0.00509, allocations: 59.34 kB / 0.9535 GB, free: 100 kB / 0.9011 GB Notification: Performance of simCode: alias equations: time 1.123e-05/0.005101, allocations: 0 / 0.9535 GB, free: 100 kB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.031e-05/0.005122, allocations: 12.66 kB / 0.9535 GB, free: 88 kB / 0.9011 GB Notification: Performance of SimCode: time 4.91e-07/0.005122, allocations: 0 / 0.9535 GB, free: 88 kB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01654/0.02166, allocations: 1.527 MB / 0.955 GB, free: 14.69 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.996/7.017, allocations: 6.094 kB / 0.955 GB, free: 14.68 MB / 0.9167 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.Utilities.Time.Examples.ModelTime.pipe ; mkfifo Buildings_11_Buildings.Utilities.Time.Examples.ModelTime.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Time.Examples.ModelTime.pipe >> ../files/Buildings_11_Buildings.Utilities.Time.Examples.ModelTime.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Utilities.Time.Examples.ModelTime_res.csv --start-time -1 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 Buildings_11_Buildings_Utilities_Time_Examples_ModelTime.fmu > Buildings_11_Buildings.Utilities.Time.Examples.ModelTime.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Utilities.Time.Examples.ModelTime_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Time_Examples_ModelTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Time.Examples.ModelTime.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.182640235871077]