Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Time.Examples.ModelTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00183/0.00183, allocations: 113.9 kB / 18.94 MB, free: 2.953 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002273/0.002273, allocations: 190.4 kB / 22.23 MB, free: 5.133 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.461/1.461, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.638/2.638, allocations: 443.4 MB / 0.7321 GB, free: 12.28 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-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.Time.Examples.ModelTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|modTim.y",fileNamePrefix="Buildings_10_Buildings.Utilities.Time.Examples.ModelTime") translateModel(Buildings.Utilities.Time.Examples.ModelTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|modTim.y",fileNamePrefix="Buildings_10_Buildings.Utilities.Time.Examples.ModelTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002864/0.002864, allocations: 59.91 kB / 1.061 GB, free: 3.012 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8143/0.8172, allocations: 160.8 MB / 1.218 GB, free: 3.633 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.ModelTime): time 0.002368/0.8196, allocations: 0.6069 MB / 1.219 GB, free: 3.184 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 3.931e-05/0.8196, allocations: 0 / 1.219 GB, free: 3.184 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.747e-05/0.8196, allocations: 5.438 kB / 1.219 GB, free: 3.18 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.73e-05/0.8197, allocations: 0 / 1.219 GB, free: 3.18 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 6.852e-06/0.8197, allocations: 0 / 1.219 GB, free: 3.18 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 3.926e-05/0.8197, allocations: 0 / 1.219 GB, free: 3.18 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 6.388e-05/0.8198, allocations: 5.344 kB / 1.219 GB, free: 3.176 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 5.022e-05/0.8198, allocations: 0.7188 kB / 1.219 GB, free: 3.176 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 1.66e-05/0.8198, allocations: 0.8438 kB / 1.219 GB, free: 3.176 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 1.919e-05/0.8199, allocations: 3.938 kB / 1.219 GB, free: 3.172 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.083e-05/0.8199, allocations: 1 kB / 1.219 GB, free: 3.172 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 3.607e-06/0.8199, allocations: 0 / 1.219 GB, free: 3.172 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.214e-05/0.8199, allocations: 1.062 kB / 1.219 GB, free: 3.172 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 1.993e-05/0.8199, allocations: 4 kB / 1.219 GB, free: 3.168 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 5.584e-05/0.82, allocations: 5.109 kB / 1.219 GB, free: 3.164 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.633e-06/0.82, allocations: 3.984 kB / 1.219 GB, free: 3.16 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.483e-06/0.82, allocations: 0 / 1.219 GB, free: 3.16 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.12e-06/0.82, allocations: 0 / 1.219 GB, free: 3.16 MB / 0.92 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.0003931/0.8204, allocations: 311.3 kB / 1.219 GB, free: 2.809 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.8204, allocations: 9.75 kB / 1.219 GB, free: 2.809 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.217e-05/0.8204, allocations: 0.9375 kB / 1.219 GB, free: 2.809 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001554/0.8206, allocations: 164.3 kB / 1.22 GB, free: 2.609 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.755e-06/0.8206, allocations: 5.75 kB / 1.22 GB, free: 2.605 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.158e-05/0.8206, allocations: 384 / 1.22 GB, free: 2.605 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.5e-05/0.8207, allocations: 31.38 kB / 1.22 GB, free: 2.57 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.8207, allocations: 1.656 kB / 1.22 GB, free: 2.57 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.033e-05/0.8207, allocations: 3.938 kB / 1.22 GB, free: 2.566 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.8207, allocations: 0 / 1.22 GB, free: 2.566 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.85e-05/0.8207, allocations: 1.375 kB / 1.22 GB, free: 2.566 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001942/0.8209, allocations: 146.4 kB / 1.22 GB, free: 2.379 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 6.122e-05/0.821, allocations: 27.8 kB / 1.22 GB, free: 2.344 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.89e-05/0.821, allocations: 7.391 kB / 1.22 GB, free: 2.336 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 6.792e-06/0.821, allocations: 1.281 kB / 1.22 GB, free: 2.336 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.984e-05/0.8211, allocations: 38.48 kB / 1.22 GB, free: 2.289 MB / 0.92 GB Notification: Performance of pre-optimization done (n=1): time 1.142e-06/0.8211, allocations: 1.219 kB / 1.22 GB, free: 2.289 MB / 0.92 GB Notification: Performance of matching and sorting (n=1): time 0.0001459/0.8212, allocations: 41.34 kB / 1.22 GB, free: 2.246 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.52e-05/0.8213, allocations: 52.59 kB / 1.22 GB, free: 2.184 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.217e-05/0.8213, allocations: 97.92 kB / 1.22 GB, free: 2.078 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.397e-05/0.8214, allocations: 29.64 kB / 1.22 GB, free: 2.043 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.286e-05/0.8214, allocations: 81.27 kB / 1.22 GB, free: 1.961 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.966e-05/0.8214, allocations: 0 / 1.22 GB, free: 1.961 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.014e-05/0.8215, allocations: 12.12 kB / 1.22 GB, free: 1.945 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001832/0.8217, allocations: 310.8 kB / 1.22 GB, free: 1.633 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.213e-05/0.8217, allocations: 1.094 kB / 1.22 GB, free: 1.633 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.568e-06/0.8217, allocations: 5.328 kB / 1.22 GB, free: 1.629 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.066e-05/0.8217, allocations: 16.23 kB / 1.22 GB, free: 1.613 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.8217, allocations: 0 / 1.22 GB, free: 1.613 MB / 0.92 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.556e-05/0.8218, allocations: 30.2 kB / 1.22 GB, free: 1.582 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.49e-05/0.8218, allocations: 5.906 kB / 1.22 GB, free: 1.582 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.8218, allocations: 3.984 kB / 1.22 GB, free: 1.578 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.305e-05/0.8218, allocations: 3.938 kB / 1.22 GB, free: 1.574 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.412e-05/0.8219, allocations: 6.562 kB / 1.22 GB, free: 1.57 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.86e-06/0.8219, allocations: 0 / 1.22 GB, free: 1.57 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.316e-05/0.8219, allocations: 0 / 1.22 GB, free: 1.57 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.949e-06/0.8219, allocations: 5.281 kB / 1.22 GB, free: 1.566 MB / 0.92 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 9.509e-05/0.822, allocations: 115 kB / 1.221 GB, free: 1.445 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.626e-05/0.822, allocations: 0 / 1.221 GB, free: 1.445 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.695e-05/0.8221, allocations: 16.25 kB / 1.221 GB, free: 1.434 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.744e-06/0.8221, allocations: 0 / 1.221 GB, free: 1.434 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.8221, allocations: 0 / 1.221 GB, free: 1.434 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.8221, allocations: 1.344 kB / 1.221 GB, free: 1.434 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001485/0.8222, allocations: 141.7 kB / 1.221 GB, free: 1.246 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.8222, allocations: 1.344 kB / 1.221 GB, free: 1.246 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.491e-05/0.8222, allocations: 5.219 kB / 1.221 GB, free: 1.242 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.358e-06/0.8222, allocations: 3.984 kB / 1.221 GB, free: 1.238 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.566e-06/0.8222, allocations: 5.312 kB / 1.221 GB, free: 1.234 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.8222, allocations: 0 / 1.221 GB, free: 1.234 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.8222, allocations: 0 / 1.221 GB, free: 1.234 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001072/0.8223, allocations: 59.48 kB / 1.221 GB, free: 1.164 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 5.899e-05/0.8224, allocations: 81.05 kB / 1.221 GB, free: 1.066 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.51e-05/0.8224, allocations: 4.812 kB / 1.221 GB, free: 1.062 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.374e-05/0.8224, allocations: 8.016 kB / 1.221 GB, free: 1.055 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.598e-05/0.8225, allocations: 1.438 kB / 1.221 GB, free: 1.055 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.893e-06/0.8225, allocations: 0 / 1.221 GB, free: 1.055 MB / 0.92 GB Notification: Performance of sorting global known variables: time 4.067e-05/0.8225, allocations: 76.5 kB / 1.221 GB, free: 0.9805 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8225, allocations: 0 / 1.221 GB, free: 0.9805 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.000321/0.8228, allocations: 0 / 1.221 GB, free: 0.9805 MB / 0.92 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.0001191/0.8229, allocations: 96.92 kB / 1.221 GB, free: 0.8867 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 8.218e-05/0.823, allocations: 7.406 kB / 1.221 GB, free: 0.8828 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.823, allocations: 3.938 kB / 1.221 GB, free: 0.8789 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 9.998e-06/0.823, allocations: 2.406 kB / 1.221 GB, free: 0.8789 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000199/0.8232, allocations: 1.062 kB / 1.221 GB, free: 0.8789 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002938/0.8235, allocations: 94.69 kB / 1.221 GB, free: 0.7656 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004367/0.824, allocations: 0.6701 MB / 1.222 GB, free: 72 kB / 0.92 GB Notification: Performance of simCode: alias equations: time 1.681e-05/0.824, allocations: 1.281 kB / 1.222 GB, free: 72 kB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.568e-05/0.824, allocations: 7.438 kB / 1.222 GB, free: 64 kB / 0.92 GB Notification: Performance of SimCode: time 3.71e-07/0.824, allocations: 0 / 1.222 GB, free: 64 kB / 0.92 GB Notification: Performance of Templates: time 0.002919/0.8269, allocations: 176.2 kB / 1.222 GB, free: 15.96 MB / 0.9356 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Utilities.Time.Examples.ModelTime.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Utilities.Time.Examples.ModelTime.pipe ; mkfifo Buildings_10_Buildings.Utilities.Time.Examples.ModelTime.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Time.Examples.ModelTime.pipe >> ../files/Buildings_10_Buildings.Utilities.Time.Examples.ModelTime.sim & ./Buildings_10_Buildings.Utilities.Time.Examples.ModelTime -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Utilities.Time.Examples.ModelTime.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Utilities.Time.Examples.ModelTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Utilities_Time_Examples_ModelTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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: 8.46901280991733]