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.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001868/0.001868, allocations: 103.8 kB / 18.19 MB, free: 3.879 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001988/0.001988, allocations: 188.4 kB / 21.34 MB, free: 0.7383 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.404/1.404, allocations: 225.6 MB / 249.9 MB, free: 13.44 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.131/3.131, allocations: 489.7 MB / 0.7761 GB, free: 33.51 MB / 0.6231 GB [Timeout remaining time 86] 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: translateModel(Buildings.Utilities.Time.Examples.ModelTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=501,variableFilter="time|modTim.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Time.Examples.ModelTime") translateModel(Buildings.Utilities.Time.Examples.ModelTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=501,variableFilter="time|modTim.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Time.Examples.ModelTime") [Timeout 300] Notification: Performance of FrontEnd - loaded program: time 0.002757/0.002757, allocations: 67.02 kB / 1.127 GB, free: 36.79 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.36/0.3628, allocations: 172.1 MB / 1.295 GB, free: 11.78 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.ModelTime): time 0.001864/0.3646, allocations: 0.584 MB / 1.295 GB, free: 11.19 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 4.387e-05/0.3647, allocations: 4 kB / 1.295 GB, free: 11.19 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.091e-05/0.3647, allocations: 0 / 1.295 GB, free: 11.19 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.625e-05/0.3647, allocations: 4 kB / 1.295 GB, free: 11.18 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 5.69e-06/0.3647, allocations: 0 / 1.295 GB, free: 11.18 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 4.687e-05/0.3648, allocations: 3.984 kB / 1.295 GB, free: 11.18 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 6.689e-05/0.3648, allocations: 7.984 kB / 1.295 GB, free: 11.17 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.709e-05/0.3649, allocations: 0 / 1.295 GB, free: 11.17 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.422e-05/0.3649, allocations: 3.938 kB / 1.295 GB, free: 11.17 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.04e-05/0.3649, allocations: 0 / 1.295 GB, free: 11.17 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.544e-05/0.3649, allocations: 4 kB / 1.295 GB, free: 11.16 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 3.847e-06/0.3649, allocations: 0 / 1.295 GB, free: 11.16 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.378e-05/0.365, allocations: 4 kB / 1.295 GB, free: 11.16 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.226e-05/0.365, allocations: 0 / 1.295 GB, free: 11.16 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 5.48e-05/0.365, allocations: 0 / 1.295 GB, free: 11.16 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.718e-06/0.365, allocations: 0 / 1.295 GB, free: 11.16 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.914e-06/0.365, allocations: 0 / 1.295 GB, free: 11.16 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.37e-06/0.365, allocations: 0 / 1.295 GB, free: 11.16 MB / 0.9981 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.00034/0.3654, allocations: 315.5 kB / 1.296 GB, free: 10.8 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.895e-05/0.3654, allocations: 8.031 kB / 1.296 GB, free: 10.79 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.625e-05/0.3654, allocations: 0.9375 kB / 1.296 GB, free: 10.79 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001203/0.3656, allocations: 172.3 kB / 1.296 GB, free: 10.59 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.216e-05/0.3656, allocations: 4.375 kB / 1.296 GB, free: 10.58 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.186e-05/0.3656, allocations: 384 / 1.296 GB, free: 10.58 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.715e-05/0.3657, allocations: 26.27 kB / 1.296 GB, free: 10.55 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/0.3657, allocations: 192 / 1.296 GB, free: 10.55 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.046e-05/0.3657, allocations: 3.938 kB / 1.296 GB, free: 10.55 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.895e-06/0.3657, allocations: 4 kB / 1.296 GB, free: 10.54 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.565e-05/0.3657, allocations: 0 / 1.296 GB, free: 10.54 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001619/0.3659, allocations: 148.2 kB / 1.296 GB, free: 10.35 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 5.276e-05/0.3659, allocations: 30.55 kB / 1.296 GB, free: 10.31 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.233e-05/0.366, allocations: 4.859 kB / 1.296 GB, free: 10.3 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.105e-05/0.366, allocations: 3.938 kB / 1.296 GB, free: 10.3 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.078e-05/0.366, allocations: 34.62 kB / 1.296 GB, free: 10.26 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=1): time 8.72e-07/0.366, allocations: 3.938 kB / 1.296 GB, free: 10.25 MB / 0.9981 GB Notification: Performance of matching and sorting (n=1): time 0.00013/0.3661, allocations: 37.62 kB / 1.296 GB, free: 10.21 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.289e-05/0.3662, allocations: 55.53 kB / 1.296 GB, free: 10.14 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.904e-05/0.3662, allocations: 97.8 kB / 1.296 GB, free: 10.04 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.451e-05/0.3662, allocations: 25.7 kB / 1.296 GB, free: 10.01 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 4.057e-05/0.3663, allocations: 80.14 kB / 1.296 GB, free: 9.926 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.814e-05/0.3663, allocations: 3.953 kB / 1.296 GB, free: 9.922 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.603e-05/0.3664, allocations: 13.72 kB / 1.296 GB, free: 9.902 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001352/0.3665, allocations: 310.8 kB / 1.297 GB, free: 9.59 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.056e-05/0.3665, allocations: 0 / 1.297 GB, free: 9.59 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.468e-06/0.3665, allocations: 0 / 1.297 GB, free: 9.59 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.313e-05/0.3665, allocations: 16.92 kB / 1.297 GB, free: 9.57 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.3665, allocations: 4 kB / 1.297 GB, free: 9.566 MB / 0.9981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.58e-05/0.3666, allocations: 33.69 kB / 1.297 GB, free: 9.527 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/0.3666, allocations: 8 kB / 1.297 GB, free: 9.52 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.3666, allocations: 0 / 1.297 GB, free: 9.52 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.56e-05/0.3666, allocations: 3.938 kB / 1.297 GB, free: 9.516 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.326e-05/0.3667, allocations: 3.938 kB / 1.297 GB, free: 9.512 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.669e-06/0.3667, allocations: 0 / 1.297 GB, free: 9.512 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.775e-05/0.3667, allocations: 8.031 kB / 1.297 GB, free: 9.504 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.158e-06/0.3667, allocations: 0 / 1.297 GB, free: 9.504 MB / 0.9981 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.232e-05/0.3668, allocations: 106.2 kB / 1.297 GB, free: 9.391 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.38e-06/0.3668, allocations: 0 / 1.297 GB, free: 9.391 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.561e-05/0.3668, allocations: 7.062 kB / 1.297 GB, free: 9.387 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.61e-07/0.3668, allocations: 0 / 1.297 GB, free: 9.387 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.3668, allocations: 4 kB / 1.297 GB, free: 9.383 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.094e-06/0.3668, allocations: 0 / 1.297 GB, free: 9.383 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001094/0.3669, allocations: 149.7 kB / 1.297 GB, free: 9.188 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.61e-07/0.3669, allocations: 0 / 1.297 GB, free: 9.188 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.056e-06/0.3669, allocations: 4 kB / 1.297 GB, free: 9.184 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.528e-06/0.3669, allocations: 4 kB / 1.297 GB, free: 9.18 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.662e-06/0.3669, allocations: 3.938 kB / 1.297 GB, free: 9.176 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.51e-07/0.3669, allocations: 0 / 1.297 GB, free: 9.176 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.3669, allocations: 0 / 1.297 GB, free: 9.176 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.236e-05/0.367, allocations: 68.98 kB / 1.297 GB, free: 9.09 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.713e-05/0.3671, allocations: 77.11 kB / 1.297 GB, free: 8.996 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.465e-05/0.3671, allocations: 7.969 kB / 1.297 GB, free: 8.988 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.492e-06/0.3671, allocations: 4 kB / 1.297 GB, free: 8.984 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.421e-05/0.3671, allocations: 0 / 1.297 GB, free: 8.984 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.282e-06/0.3671, allocations: 0 / 1.297 GB, free: 8.984 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 3.566e-05/0.3671, allocations: 75.28 kB / 1.297 GB, free: 8.91 MB / 0.9981 GB Notification: Performance of sort global known variables: time 6e-08/0.3671, allocations: 0 / 1.297 GB, free: 8.91 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000195/0.3673, allocations: 3.938 kB / 1.297 GB, free: 8.906 MB / 0.9981 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.0001129/0.3674, allocations: 102.9 kB / 1.297 GB, free: 8.797 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 7.469e-05/0.3675, allocations: 8 kB / 1.297 GB, free: 8.789 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.3675, allocations: 0 / 1.297 GB, free: 8.789 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 4.469e-06/0.3675, allocations: 0 / 1.297 GB, free: 8.789 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001441/0.3677, allocations: 6.031 kB / 1.297 GB, free: 8.785 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002196/0.3679, allocations: 102.6 kB / 1.298 GB, free: 8.652 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003065/0.3682, allocations: 0.6729 MB / 1.298 GB, free: 7.953 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.836e-05/0.3682, allocations: 7.438 kB / 1.298 GB, free: 7.945 MB / 0.9981 GB Notification: Performance of SimCode: time 2.9e-07/0.3682, allocations: 0 / 1.298 GB, free: 7.945 MB / 0.9981 GB Notification: Performance of Templates: time 0.00185/0.3701, allocations: 328 kB / 1.298 GB, free: 7.625 MB / 0.9981 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=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Time.Examples.ModelTime.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_latest_Buildings.Utilities.Time.Examples.ModelTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Time_Examples_ModelTime.csv","/var/lib/jenkins1/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