Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.00103/0.00103, allocations: 76.5 kB / 19.93 MB, free: 4.621 MB / 18.57 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.001039/0.001039, allocations: 177.9 kB / 23.21 MB, free: 1.344 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.9546/0.9546, allocations: 177.1 MB / 203.5 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.857/1.857, allocations: 377.8 MB / 0.6228 GB, free: 8.676 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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: translateModel(Buildings.Utilities.Time.Examples.ModelTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|modTim.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Time.Examples.ModelTime") translateModel(Buildings.Utilities.Time.Examples.ModelTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|modTim.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Time.Examples.ModelTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.784e-06/1.784e-06, allocations: 3.938 kB / 0.9821 GB, free: 2.16 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.66e-05/1.839e-05, allocations: 2.281 kB / 0.9821 GB, free: 2.156 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.ModelTime): time 0.001055/0.001073, allocations: 0.5992 MB / 0.9827 GB, free: 1.562 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 3.978e-05/0.001113, allocations: 0 / 0.9827 GB, free: 1.562 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.699e-05/0.00113, allocations: 8 kB / 0.9827 GB, free: 1.555 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 2.721e-05/0.001157, allocations: 0 / 0.9827 GB, free: 1.555 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 6.202e-06/0.001163, allocations: 0 / 0.9827 GB, free: 1.555 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 3.354e-05/0.001197, allocations: 0 / 0.9827 GB, free: 1.555 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 5.034e-05/0.001247, allocations: 0 / 0.9827 GB, free: 1.555 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 4.999e-05/0.001297, allocations: 3.984 kB / 0.9827 GB, free: 1.551 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002939/0.001591, allocations: 11.94 kB / 0.9828 GB, free: 1.539 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 1.973e-05/0.001611, allocations: 0 / 0.9828 GB, free: 1.539 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 1.836e-05/0.001629, allocations: 0 / 0.9828 GB, free: 1.539 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 3.106e-06/0.001632, allocations: 0 / 0.9828 GB, free: 1.539 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 1.153e-05/0.001644, allocations: 0 / 0.9828 GB, free: 1.539 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 1.763e-05/0.001661, allocations: 4 kB / 0.9828 GB, free: 1.535 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 5.109e-05/0.001712, allocations: 0 / 0.9828 GB, free: 1.535 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 1.954e-06/0.001714, allocations: 0 / 0.9828 GB, free: 1.535 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.102e-06/0.001715, allocations: 0 / 0.9828 GB, free: 1.535 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 3.286e-06/0.001719, allocations: 3.938 kB / 0.9828 GB, free: 1.531 MB / 0.9323 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.0001971/0.001916, allocations: 234.4 kB / 0.983 GB, free: 1.27 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.511e-05/0.001951, allocations: 12.06 kB / 0.983 GB, free: 1.258 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.577e-05/0.001977, allocations: 4.922 kB / 0.983 GB, free: 1.254 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.292e-05/0.00203, allocations: 105.8 kB / 0.9831 GB, free: 1.125 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.427e-06/0.002039, allocations: 384 / 0.9831 GB, free: 1.125 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.574e-06/0.002047, allocations: 384 / 0.9831 GB, free: 1.125 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.272e-05/0.002119, allocations: 34.27 kB / 0.9831 GB, free: 1.086 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.742e-06/0.002126, allocations: 4.188 kB / 0.9831 GB, free: 1.082 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.893e-06/0.002133, allocations: 384 / 0.9831 GB, free: 1.082 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.479e-06/0.002137, allocations: 384 / 0.9831 GB, free: 1.082 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.895e-05/0.002156, allocations: 11.88 kB / 0.9832 GB, free: 1.07 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.175e-05/0.002248, allocations: 101.2 kB / 0.9832 GB, free: 0.9414 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 3.336e-05/0.002281, allocations: 14.67 kB / 0.9833 GB, free: 0.918 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.002e-05/0.002301, allocations: 16.84 kB / 0.9833 GB, free: 0.8984 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 9.248e-06/0.002311, allocations: 0 / 0.9833 GB, free: 0.8984 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.761e-05/0.002328, allocations: 34.56 kB / 0.9833 GB, free: 0.8555 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=1): time 5.51e-07/0.002329, allocations: 4 kB / 0.9833 GB, free: 0.8516 MB / 0.9323 GB Notification: Performance of matching and sorting (n=1): time 0.0001029/0.002432, allocations: 33.64 kB / 0.9833 GB, free: 0.8125 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.977e-05/0.002462, allocations: 51.41 kB / 0.9834 GB, free: 0.75 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.532e-05/0.002487, allocations: 89.86 kB / 0.9835 GB, free: 0.6523 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 8.977e-06/0.002496, allocations: 25.7 kB / 0.9835 GB, free: 0.6211 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 1.859e-05/0.002514, allocations: 80.14 kB / 0.9836 GB, free: 0.5391 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 2.701e-05/0.002541, allocations: 4 kB / 0.9836 GB, free: 0.5352 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.846e-05/0.00256, allocations: 13.72 kB / 0.9836 GB, free: 0.5156 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 7.488e-05/0.002635, allocations: 318.8 kB / 0.9839 GB, free: 200 kB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.296e-06/0.002643, allocations: 0 / 0.9839 GB, free: 200 kB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.262e-06/0.002649, allocations: 8.125 kB / 0.9839 GB, free: 192 kB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.21e-05/0.002671, allocations: 4.859 kB / 0.9839 GB, free: 184 kB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.063e-06/0.002673, allocations: 4 kB / 0.9839 GB, free: 180 kB / 0.9323 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.253e-05/0.002706, allocations: 37.64 kB / 0.984 GB, free: 136 kB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.275e-05/0.002719, allocations: 4 kB / 0.984 GB, free: 132 kB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.002724, allocations: 0 / 0.984 GB, free: 132 kB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.169e-05/0.002736, allocations: 0 / 0.984 GB, free: 132 kB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.422e-05/0.00279, allocations: 4 kB / 0.984 GB, free: 128 kB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.639e-06/0.002794, allocations: 0 / 0.984 GB, free: 128 kB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.564e-06/0.002802, allocations: 8.031 kB / 0.984 GB, free: 120 kB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.947e-06/0.002806, allocations: 3.938 kB / 0.984 GB, free: 116 kB / 0.9323 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 6.025e-05/0.002866, allocations: 113.8 kB / 0.9841 GB, free: 15.99 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.306e-06/0.00287, allocations: 3.984 kB / 0.9841 GB, free: 15.99 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.34e-05/0.002883, allocations: 3 kB / 0.9841 GB, free: 15.99 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.022e-06/0.002884, allocations: 0 / 0.9841 GB, free: 15.99 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.002888, allocations: 3.938 kB / 0.9841 GB, free: 15.98 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.434e-06/0.002891, allocations: 0 / 0.9841 GB, free: 15.98 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.466e-05/0.002936, allocations: 97.27 kB / 0.9842 GB, free: 15.86 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.91e-07/0.002936, allocations: 4 kB / 0.9842 GB, free: 15.86 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.741e-06/0.002942, allocations: 4 kB / 0.9842 GB, free: 15.85 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.41e-07/0.002943, allocations: 0 / 0.9842 GB, free: 15.85 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.809e-06/0.002948, allocations: 0 / 0.9842 GB, free: 15.85 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.002949, allocations: 3.984 kB / 0.9842 GB, free: 15.85 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.00295, allocations: 0 / 0.9842 GB, free: 15.85 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.307e-05/0.002993, allocations: 65.02 kB / 0.9843 GB, free: 15.77 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.045e-06/0.002996, allocations: 0 / 0.9843 GB, free: 15.77 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.544e-06/0.003003, allocations: 4 kB / 0.9843 GB, free: 15.76 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.967e-06/0.003007, allocations: 4 kB / 0.9843 GB, free: 15.76 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.139e-05/0.003019, allocations: 0 / 0.9843 GB, free: 15.76 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.003e-06/0.003021, allocations: 3.984 kB / 0.9843 GB, free: 15.75 MB / 0.948 GB Notification: Performance of sorting global known variables: time 1.771e-05/0.003038, allocations: 79.31 kB / 0.9843 GB, free: 15.68 MB / 0.948 GB Notification: Performance of sort global known variables: time 4e-08/0.003039, allocations: 0 / 0.9843 GB, free: 15.68 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.000118/0.003157, allocations: 0 / 0.9843 GB, free: 15.68 MB / 0.948 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 5.89e-05/0.003215, allocations: 99.19 kB / 0.9844 GB, free: 15.57 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 5.522e-05/0.003271, allocations: 11.94 kB / 0.9845 GB, free: 15.56 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.282e-06/0.003272, allocations: 0 / 0.9845 GB, free: 15.56 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 2.685e-06/0.003275, allocations: 0 / 0.9845 GB, free: 15.56 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.198e-05/0.003367, allocations: 4 kB / 0.9845 GB, free: 15.55 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001585/0.003525, allocations: 102.7 kB / 0.9846 GB, free: 15.42 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.347e-05/0.003559, allocations: 59.34 kB / 0.9846 GB, free: 15.34 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.677e-05/0.003575, allocations: 8.5 kB / 0.9846 GB, free: 15.33 MB / 0.948 GB Notification: Performance of SimCode: time 4.21e-07/0.003576, allocations: 0 / 0.9846 GB, free: 15.33 MB / 0.948 GB Notification: Performance of Templates: time 0.0009888/0.004565, allocations: 339.9 kB / 0.9849 GB, free: 15 MB / 0.948 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Time.Examples.ModelTime.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Time.Examples.ModelTime.pipe ; mkfifo Buildings_12_Buildings.Utilities.Time.Examples.ModelTime.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Time.Examples.ModelTime.pipe >> ../files/Buildings_12_Buildings.Utilities.Time.Examples.ModelTime.sim & ./Buildings_12_Buildings.Utilities.Time.Examples.ModelTime -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Time.Examples.ModelTime.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Time.Examples.ModelTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Time_Examples_ModelTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 6.780469889752567]