Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001833/0.001833, allocations: 80.3 kB / 19.18 MB, free: 2.516 MB / 14.72 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.002152/0.002152, allocations: 159.1 kB / 22.45 MB, free: 5.375 MB / 14.72 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 1.464/1.464, allocations: 177.2 MB / 202.8 MB, free: 9.16 MB / 190.1 MB " [Timeout remaining time 178] 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 2.886/2.886, allocations: 389 MB / 0.633 GB, free: 0.9883 MB / 0.5919 GB " [Timeout remaining time 176] 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: translateModel(Buildings.Utilities.Time.Examples.ModelTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|modTim.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Time.Examples.ModelTime") translateModel(Buildings.Utilities.Time.Examples.ModelTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|modTim.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Time.Examples.ModelTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.402e-06/1.402e-06, allocations: 0 / 1 GB, free: 6.25 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.725e-05/2.865e-05, allocations: 4.812 kB / 1 GB, free: 6.246 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.ModelTime): time 0.001802/0.001831, allocations: 0.6215 MB / 1.001 GB, free: 5.625 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 3.83e-05/0.001869, allocations: 3.984 kB / 1.001 GB, free: 5.621 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.411e-05/0.001893, allocations: 0 / 1.001 GB, free: 5.621 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 2.701e-05/0.00192, allocations: 0 / 1.001 GB, free: 5.621 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 5.731e-06/0.001926, allocations: 0 / 1.001 GB, free: 5.621 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 2.904e-05/0.001955, allocations: 0 / 1.001 GB, free: 5.621 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 5.724e-05/0.002012, allocations: 8 kB / 1.001 GB, free: 5.613 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 5.031e-05/0.002063, allocations: 8 kB / 1.001 GB, free: 5.605 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 3.144e-05/0.002094, allocations: 0 / 1.001 GB, free: 5.605 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 1.668e-05/0.002111, allocations: 0 / 1.001 GB, free: 5.605 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 2.085e-05/0.002131, allocations: 0 / 1.001 GB, free: 5.605 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 2.535e-06/0.002134, allocations: 0 / 1.001 GB, free: 5.605 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 9.558e-06/0.002144, allocations: 0 / 1.001 GB, free: 5.605 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 1.347e-05/0.002157, allocations: 3.938 kB / 1.001 GB, free: 5.602 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 4.725e-05/0.002204, allocations: 4 kB / 1.001 GB, free: 5.598 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 1.924e-06/0.002206, allocations: 0 / 1.001 GB, free: 5.598 MB / 0.9044 GB Notification: Performance of FrontEnd: time 9.82e-07/0.002207, allocations: 0 / 1.001 GB, free: 5.598 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 7.975e-06/0.002215, allocations: 0 / 1.001 GB, free: 5.598 MB / 0.9044 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.0002851/0.0025, allocations: 238.5 kB / 1.001 GB, free: 5.332 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.335e-05/0.002534, allocations: 12.03 kB / 1.001 GB, free: 5.32 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.198e-05/0.002556, allocations: 0.9375 kB / 1.001 GB, free: 5.32 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.479e-05/0.00265, allocations: 105.7 kB / 1.001 GB, free: 5.191 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.186e-05/0.002662, allocations: 4.375 kB / 1.001 GB, free: 5.188 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.103e-05/0.002673, allocations: 384 / 1.001 GB, free: 5.188 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.669e-05/0.00276, allocations: 26.27 kB / 1.001 GB, free: 5.156 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.816e-06/0.002769, allocations: 192 / 1.001 GB, free: 5.156 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.254e-06/0.002776, allocations: 384 / 1.001 GB, free: 5.156 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.677e-06/0.00278, allocations: 4.375 kB / 1.001 GB, free: 5.152 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.783e-05/0.002798, allocations: 3.938 kB / 1.001 GB, free: 5.148 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001242/0.002922, allocations: 109.2 kB / 1.001 GB, free: 5.012 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 5.574e-05/0.002978, allocations: 26.55 kB / 1.001 GB, free: 4.977 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.966e-05/0.002997, allocations: 4.859 kB / 1.001 GB, free: 4.969 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.26e-05/0.00301, allocations: 4.062 kB / 1.001 GB, free: 4.965 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.44e-05/0.003034, allocations: 30.56 kB / 1.001 GB, free: 4.926 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=1): time 9.22e-07/0.003035, allocations: 0 / 1.001 GB, free: 4.926 MB / 0.9044 GB Notification: Performance of matching and sorting (n=1): time 0.0001295/0.003165, allocations: 29.7 kB / 1.001 GB, free: 4.891 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.135e-05/0.003206, allocations: 51.41 kB / 1.001 GB, free: 4.828 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.649e-05/0.003262, allocations: 93.86 kB / 1.001 GB, free: 4.727 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.624e-05/0.003279, allocations: 33.77 kB / 1.001 GB, free: 4.688 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 3.694e-05/0.003316, allocations: 84.14 kB / 1.002 GB, free: 4.602 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 3.403e-05/0.00335, allocations: 3.984 kB / 1.002 GB, free: 4.598 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.195e-05/0.003382, allocations: 9.719 kB / 1.002 GB, free: 4.582 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001593/0.003541, allocations: 318.8 kB / 1.002 GB, free: 4.262 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.627e-06/0.00355, allocations: 0 / 1.002 GB, free: 4.262 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.318e-06/0.003554, allocations: 0 / 1.002 GB, free: 4.262 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.028e-05/0.003584, allocations: 12.86 kB / 1.002 GB, free: 4.246 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.003586, allocations: 3.938 kB / 1.002 GB, free: 4.242 MB / 0.9044 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.317e-05/0.003639, allocations: 33.77 kB / 1.002 GB, free: 4.203 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/0.003655, allocations: 6.188 kB / 1.002 GB, free: 4.199 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.003661, allocations: 4 kB / 1.002 GB, free: 4.195 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.423e-05/0.003675, allocations: 0 / 1.002 GB, free: 4.195 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.637e-05/0.003731, allocations: 7.922 kB / 1.002 GB, free: 4.188 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.128e-06/0.003736, allocations: 0 / 1.002 GB, free: 4.188 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.168e-05/0.003747, allocations: 3.938 kB / 1.002 GB, free: 4.184 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.258e-06/0.003752, allocations: 0 / 1.002 GB, free: 4.184 MB / 0.9044 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 7.899e-05/0.003831, allocations: 111 kB / 1.002 GB, free: 4.066 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.791e-06/0.003836, allocations: 0 / 1.002 GB, free: 4.066 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.358e-05/0.00386, allocations: 3 kB / 1.002 GB, free: 4.062 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.242e-06/0.003861, allocations: 4.031 kB / 1.002 GB, free: 4.059 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.003865, allocations: 0 / 1.002 GB, free: 4.059 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.003867, allocations: 0 / 1.002 GB, free: 4.059 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.979e-05/0.003967, allocations: 109.2 kB / 1.002 GB, free: 3.922 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.003968, allocations: 0 / 1.002 GB, free: 3.922 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.477e-05/0.003983, allocations: 4 kB / 1.002 GB, free: 3.918 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.003985, allocations: 0 / 1.002 GB, free: 3.918 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.235e-06/0.003993, allocations: 4 kB / 1.002 GB, free: 3.914 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.003994, allocations: 0 / 1.002 GB, free: 3.914 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.003995, allocations: 0 / 1.002 GB, free: 3.914 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.794e-05/0.004073, allocations: 61.02 kB / 1.002 GB, free: 3.836 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 8.747e-06/0.004082, allocations: 7.953 kB / 1.002 GB, free: 3.828 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.204e-05/0.004094, allocations: 3.984 kB / 1.002 GB, free: 3.824 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.474e-06/0.004101, allocations: 3.938 kB / 1.002 GB, free: 3.82 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.504e-05/0.004117, allocations: 0 / 1.002 GB, free: 3.82 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.613e-06/0.004118, allocations: 0 / 1.002 GB, free: 3.82 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 4.365e-05/0.004162, allocations: 75.28 kB / 1.002 GB, free: 3.746 MB / 0.9044 GB Notification: Performance of sort global known variables: time 8e-08/0.004162, allocations: 4 kB / 1.002 GB, free: 3.742 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0001916/0.004353, allocations: 4 kB / 1.002 GB, free: 3.738 MB / 0.9044 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.0001291/0.004482, allocations: 99.2 kB / 1.002 GB, free: 3.633 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 6.907e-05/0.004552, allocations: 8 kB / 1.002 GB, free: 3.625 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.004553, allocations: 0 / 1.002 GB, free: 3.625 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 5.24e-06/0.004559, allocations: 0 / 1.002 GB, free: 3.625 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001325/0.004691, allocations: 4 kB / 1.002 GB, free: 3.621 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002254/0.004917, allocations: 92.72 kB / 1.002 GB, free: 3.504 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.881e-05/0.004965, allocations: 55.36 kB / 1.003 GB, free: 3.43 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 1.413e-05/0.004979, allocations: 3.984 kB / 1.003 GB, free: 3.426 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.703e-05/0.004997, allocations: 8.5 kB / 1.003 GB, free: 3.418 MB / 0.9044 GB Notification: Performance of SimCode: time 2.91e-07/0.004997, allocations: 0 / 1.003 GB, free: 3.418 MB / 0.9044 GB Notification: Performance of Templates: time 0.002319/0.007316, allocations: 169.1 kB / 1.003 GB, free: 3.254 MB / 0.9044 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Time.Examples.ModelTime.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Time.Examples.ModelTime.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Time.Examples.ModelTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Time.Examples.ModelTime.pipe >> ../files/Buildings_latest_Buildings.Utilities.Time.Examples.ModelTime.sim & ./Buildings_latest_Buildings.Utilities.Time.Examples.ModelTime -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Time.Examples.ModelTime.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Time.Examples.ModelTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Time_Examples_ModelTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.011817373335361]