Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Time.Examples.ModelTime.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Utilities.Time.Examples.ModelTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.Time.Examples.ModelTime") translateModel(Buildings.Utilities.Time.Examples.ModelTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.Time.Examples.ModelTime") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.671/1.671, allocations: 306.1 MB / 321.4 MB, free: 10.71 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009441/0.0009441, allocations: 174.7 kB / 393.1 MB, free: 4.035 MB / 314.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.356/1.356, allocations: 225.7 MB / 0.6743 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008703/0.0008703, allocations: 92.36 kB / 0.7935 GB, free: 39.94 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003133/0.0003134, allocations: 8 kB / 0.9224 GB, free: 8.656 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5274/0.5277, allocations: 121.3 MB / 1.041 GB, free: 58 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.ModelTime): time 0.0007952/0.5285, allocations: 335.1 kB / 1.041 GB, free: 57.88 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 3.934e-05/0.5286, allocations: 0 / 1.041 GB, free: 57.88 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.449e-05/0.5286, allocations: 2.438 kB / 1.041 GB, free: 57.88 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 1.476e-05/0.5286, allocations: 0 / 1.041 GB, free: 57.88 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 5.591e-06/0.5287, allocations: 0.5938 kB / 1.041 GB, free: 57.88 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 3.85e-05/0.5287, allocations: 1.406 kB / 1.041 GB, free: 57.88 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 4.491e-05/0.5288, allocations: 6.25 kB / 1.041 GB, free: 57.87 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 5.792e-05/0.5288, allocations: 0.6562 kB / 1.041 GB, free: 57.87 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 1.706e-05/0.5288, allocations: 1.531 kB / 1.041 GB, free: 57.87 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 1.949e-05/0.5289, allocations: 3.359 kB / 1.041 GB, free: 57.87 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.385e-05/0.5289, allocations: 0.5938 kB / 1.041 GB, free: 57.87 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 5.12e-06/0.5289, allocations: 2.812 kB / 1.041 GB, free: 57.87 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.402e-05/0.5289, allocations: 0 / 1.041 GB, free: 57.87 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 3.19e-05/0.529, allocations: 25.7 kB / 1.041 GB, free: 57.84 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 4.941e-05/0.529, allocations: 4.547 kB / 1.041 GB, free: 57.84 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.529, allocations: 0 / 1.041 GB, free: 57.84 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.633e-06/0.529, allocations: 4.562 kB / 1.041 GB, free: 57.83 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.497e-06/0.529, allocations: 0.6875 kB / 1.041 GB, free: 57.83 MB / 0.698 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.0002201/0.5293, allocations: 308.4 kB / 1.042 GB, free: 57.48 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.042e-05/0.5293, allocations: 9.438 kB / 1.042 GB, free: 57.48 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.06e-05/0.5293, allocations: 4.781 kB / 1.042 GB, free: 57.48 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.225e-05/0.5294, allocations: 171.8 kB / 1.042 GB, free: 57.28 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.23e-05/0.5294, allocations: 0.9062 kB / 1.042 GB, free: 57.28 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.065e-06/0.5294, allocations: 0.9062 kB / 1.042 GB, free: 57.28 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.843e-05/0.5295, allocations: 30.55 kB / 1.042 GB, free: 57.25 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.5296, allocations: 0.8125 kB / 1.042 GB, free: 57.25 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.135e-06/0.5296, allocations: 3.938 kB / 1.042 GB, free: 57.25 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.5296, allocations: 0.5 kB / 1.042 GB, free: 57.25 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.615e-05/0.5296, allocations: 4.219 kB / 1.042 GB, free: 57.25 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.519e-05/0.5297, allocations: 142.6 kB / 1.042 GB, free: 57.06 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 3.642e-05/0.5297, allocations: 24.77 kB / 1.042 GB, free: 57.03 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.798e-05/0.5298, allocations: 9.453 kB / 1.042 GB, free: 57.02 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.053e-06/0.5298, allocations: 3.891 kB / 1.042 GB, free: 57.02 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.206e-05/0.5298, allocations: 30.56 kB / 1.042 GB, free: 56.98 MB / 0.698 GB Notification: Performance of pre-optimization done (n=1): time 9.02e-07/0.5298, allocations: 1.625 kB / 1.042 GB, free: 56.98 MB / 0.698 GB Notification: Performance of matching and sorting (n=1): time 0.0001145/0.5299, allocations: 37.28 kB / 1.042 GB, free: 56.95 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.335e-05/0.53, allocations: 53.75 kB / 1.042 GB, free: 56.88 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.897e-05/0.53, allocations: 93.86 kB / 1.042 GB, free: 56.78 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 8.075e-06/0.53, allocations: 26.5 kB / 1.042 GB, free: 56.75 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 1.311e-05/0.53, allocations: 80.14 kB / 1.042 GB, free: 56.67 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.714e-05/0.53, allocations: 11.83 kB / 1.042 GB, free: 56.66 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.914e-06/0.5301, allocations: 0 / 1.042 GB, free: 56.66 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.88e-05/0.5301, allocations: 314.5 kB / 1.043 GB, free: 56.34 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.604e-06/0.5302, allocations: 3.562 kB / 1.043 GB, free: 56.34 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.799e-06/0.5302, allocations: 3.422 kB / 1.043 GB, free: 56.34 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.326e-05/0.5302, allocations: 7.578 kB / 1.043 GB, free: 56.34 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.5302, allocations: 0 / 1.043 GB, free: 56.34 MB / 0.698 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.352e-05/0.5302, allocations: 40.89 kB / 1.043 GB, free: 56.3 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.094e-05/0.5303, allocations: 8.656 kB / 1.043 GB, free: 56.29 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.5303, allocations: 1.062 kB / 1.043 GB, free: 56.29 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.154e-05/0.5303, allocations: 7.938 kB / 1.043 GB, free: 56.29 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.624e-05/0.5303, allocations: 1.625 kB / 1.043 GB, free: 56.29 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.168e-06/0.5303, allocations: 5.312 kB / 1.043 GB, free: 56.28 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.075e-05/0.5304, allocations: 0 / 1.043 GB, free: 56.28 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.338e-06/0.5304, allocations: 0 / 1.043 GB, free: 56.28 MB / 0.698 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 4.025e-05/0.5304, allocations: 116.5 kB / 1.043 GB, free: 56.17 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.693e-06/0.5304, allocations: 2.688 kB / 1.043 GB, free: 56.17 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.226e-05/0.5304, allocations: 7.062 kB / 1.043 GB, free: 56.16 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.152e-06/0.5305, allocations: 3.938 kB / 1.043 GB, free: 56.16 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.925e-06/0.5305, allocations: 0.8438 kB / 1.043 GB, free: 56.16 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.5305, allocations: 1.031 kB / 1.043 GB, free: 56.16 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.645e-05/0.5305, allocations: 145.4 kB / 1.043 GB, free: 55.97 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.62e-07/0.5305, allocations: 0 / 1.043 GB, free: 55.97 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.485e-06/0.5305, allocations: 4.219 kB / 1.043 GB, free: 55.97 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.082e-06/0.5305, allocations: 0 / 1.043 GB, free: 55.97 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.672e-06/0.5306, allocations: 9.812 kB / 1.043 GB, free: 55.96 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.5306, allocations: 0.7031 kB / 1.043 GB, free: 55.96 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.5306, allocations: 0 / 1.043 GB, free: 55.96 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.377e-05/0.5306, allocations: 55.05 kB / 1.043 GB, free: 55.9 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 1.361e-05/0.5306, allocations: 78.86 kB / 1.043 GB, free: 55.81 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.05e-05/0.5307, allocations: 10.8 kB / 1.043 GB, free: 55.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.805e-06/0.5307, allocations: 0 / 1.043 GB, free: 55.8 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.357e-05/0.5307, allocations: 2.344 kB / 1.043 GB, free: 55.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.134e-06/0.5307, allocations: 4.562 kB / 1.043 GB, free: 55.8 MB / 0.698 GB Notification: Performance of sorting global known variables: time 1.167e-05/0.5307, allocations: 80.31 kB / 1.043 GB, free: 55.72 MB / 0.698 GB Notification: Performance of sort global known variables: time 1e-07/0.5307, allocations: 0 / 1.043 GB, free: 55.72 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002278/0.5309, allocations: 0 / 1.043 GB, free: 55.72 MB / 0.698 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 6.866e-05/0.531, allocations: 102.8 kB / 1.043 GB, free: 55.64 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 4.882e-05/0.5311, allocations: 3.281 kB / 1.043 GB, free: 55.64 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.5311, allocations: 0 / 1.043 GB, free: 55.64 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 5.631e-06/0.5311, allocations: 2.406 kB / 1.043 GB, free: 55.64 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001268/0.5312, allocations: 5.594 kB / 1.043 GB, free: 55.63 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001539/0.5314, allocations: 84.3 kB / 1.043 GB, free: 55.53 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001064/0.5315, allocations: 0.6731 MB / 1.044 GB, free: 54.83 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 1.221e-05/0.5315, allocations: 0 / 1.044 GB, free: 54.83 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.223e-05/0.5315, allocations: 8.688 kB / 1.044 GB, free: 54.82 MB / 0.698 GB Notification: Performance of SimCode: time 3.21e-07/0.5315, allocations: 0 / 1.044 GB, free: 54.82 MB / 0.698 GB Notification: Performance of Templates: time 0.001536/0.5331, allocations: 166.3 kB / 1.044 GB, free: 54.77 MB / 0.698 GB make -j1 -f Buildings_latest_Buildings.Utilities.Time.Examples.ModelTime.makefile (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=480 -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Time.Examples.ModelTime.pipe 2>&1)