Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001417/0.001417, allocations: 80.41 kB / 20.23 MB, free: 4.199 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.001577/0.001577, allocations: 161.7 kB / 23.55 MB, free: 0.8867 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 1.456/1.456, allocations: 177.1 MB / 203.9 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.752/2.752, allocations: 359 MB / 0.6048 GB, free: 10.94 MB / 0.573 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_Buildings.Utilities.Time.Examples.ModelTime") translateModel(Buildings.Utilities.Time.Examples.ModelTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|modTim.y",fileNamePrefix="Buildings_11_Buildings.Utilities.Time.Examples.ModelTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.864e-06/1.864e-06, allocations: 0 / 0.7863 GB, free: 12.83 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.364e-05/2.551e-05, allocations: 3 kB / 0.7863 GB, free: 12.83 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.ModelTime): time 0.00172/0.001745, allocations: 0.6117 MB / 0.7869 GB, free: 12.24 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 4.146e-05/0.001787, allocations: 3.984 kB / 0.7869 GB, free: 12.23 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.725e-05/0.001804, allocations: 5 kB / 0.7869 GB, free: 12.23 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.408e-05/0.001828, allocations: 0 / 0.7869 GB, free: 12.23 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 5.82e-06/0.001834, allocations: 0 / 0.7869 GB, free: 12.23 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 3.861e-05/0.001873, allocations: 4.531 kB / 0.7869 GB, free: 12.23 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 5.119e-05/0.001924, allocations: 1.219 kB / 0.7869 GB, free: 12.23 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.429e-05/0.001958, allocations: 0 / 0.7869 GB, free: 12.23 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 2.782e-05/0.001986, allocations: 0 / 0.7869 GB, free: 12.23 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 2.095e-05/0.002007, allocations: 0.5938 kB / 0.7869 GB, free: 12.23 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.128e-05/0.002018, allocations: 0 / 0.7869 GB, free: 12.23 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 3.116e-06/0.002021, allocations: 5.031 kB / 0.7869 GB, free: 12.22 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.01e-05/0.002031, allocations: 0 / 0.7869 GB, free: 12.22 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.199e-05/0.002053, allocations: 4 kB / 0.7869 GB, free: 12.22 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 4.368e-05/0.002097, allocations: 1.938 kB / 0.7869 GB, free: 12.22 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.633e-06/0.002099, allocations: 0 / 0.7869 GB, free: 12.22 MB / 0.7448 GB Notification: Performance of FrontEnd: time 6.11e-07/0.002099, allocations: 0 / 0.7869 GB, free: 12.22 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.507e-06/0.002103, allocations: 0 / 0.7869 GB, free: 12.22 MB / 0.7448 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.0003165/0.002419, allocations: 234.5 kB / 0.7872 GB, free: 11.96 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.691e-05/0.002456, allocations: 8.688 kB / 0.7872 GB, free: 11.95 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.143e-05/0.002498, allocations: 4.938 kB / 0.7872 GB, free: 11.95 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001016/0.002599, allocations: 106.6 kB / 0.7873 GB, free: 11.82 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.158e-05/0.002611, allocations: 384 / 0.7873 GB, free: 11.82 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.502e-06/0.002617, allocations: 1.562 kB / 0.7873 GB, free: 11.82 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.696e-05/0.002704, allocations: 34.27 kB / 0.7873 GB, free: 11.78 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.734e-06/0.002712, allocations: 192 / 0.7873 GB, free: 11.78 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.324e-06/0.002719, allocations: 1.781 kB / 0.7873 GB, free: 11.78 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.038e-06/0.002723, allocations: 384 / 0.7873 GB, free: 11.78 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.814e-05/0.002741, allocations: 3.938 kB / 0.7873 GB, free: 11.77 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001336/0.002875, allocations: 101.3 kB / 0.7874 GB, free: 11.64 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 4.664e-05/0.002922, allocations: 19.58 kB / 0.7874 GB, free: 11.62 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.5e-05/0.002947, allocations: 12.89 kB / 0.7875 GB, free: 11.6 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.038e-05/0.002957, allocations: 1.562 kB / 0.7875 GB, free: 11.6 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.402e-05/0.002991, allocations: 34.56 kB / 0.7875 GB, free: 11.56 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=1): time 7.31e-07/0.002992, allocations: 0 / 0.7875 GB, free: 11.56 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1): time 0.0001508/0.003143, allocations: 39.28 kB / 0.7875 GB, free: 11.52 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.483e-05/0.003187, allocations: 51.41 kB / 0.7876 GB, free: 11.45 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.956e-05/0.003247, allocations: 89.86 kB / 0.7877 GB, free: 11.36 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.685e-05/0.003264, allocations: 25.7 kB / 0.7877 GB, free: 11.32 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.868e-05/0.003313, allocations: 93.83 kB / 0.7878 GB, free: 11.23 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.35e-05/0.003336, allocations: 0 / 0.7878 GB, free: 11.23 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.313e-05/0.003369, allocations: 17.72 kB / 0.7878 GB, free: 11.21 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001683/0.003537, allocations: 314.8 kB / 0.7881 GB, free: 10.89 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.245e-06/0.003546, allocations: 0 / 0.7881 GB, free: 10.89 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.762e-06/0.003552, allocations: 6.469 kB / 0.7881 GB, free: 10.89 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.814e-05/0.003581, allocations: 4.859 kB / 0.7881 GB, free: 10.88 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.003582, allocations: 0 / 0.7881 GB, free: 10.88 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.135e-05/0.003643, allocations: 37.7 kB / 0.7881 GB, free: 10.84 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.368e-05/0.003657, allocations: 4 kB / 0.7881 GB, free: 10.83 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.003661, allocations: 0.625 kB / 0.7881 GB, free: 10.83 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.953e-05/0.003681, allocations: 3.984 kB / 0.7881 GB, free: 10.83 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.114e-05/0.003732, allocations: 9.594 kB / 0.7882 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.867e-06/0.003736, allocations: 0 / 0.7882 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.207e-05/0.003748, allocations: 3.938 kB / 0.7882 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.198e-06/0.003752, allocations: 0 / 0.7882 GB, free: 10.82 MB / 0.7448 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 8.11e-05/0.003833, allocations: 107.2 kB / 0.7883 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.867e-06/0.003842, allocations: 4 kB / 0.7883 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.505e-05/0.003857, allocations: 3 kB / 0.7883 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.003859, allocations: 1.156 kB / 0.7883 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.003865, allocations: 4 kB / 0.7883 GB, free: 10.69 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.024e-06/0.003867, allocations: 0 / 0.7883 GB, free: 10.69 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.505e-05/0.003962, allocations: 102.6 kB / 0.7884 GB, free: 10.56 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.003965, allocations: 4 kB / 0.7884 GB, free: 10.56 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.994e-05/0.003985, allocations: 0 / 0.7884 GB, free: 10.56 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.003987, allocations: 0 / 0.7884 GB, free: 10.56 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.13e-06/0.003992, allocations: 1.75 kB / 0.7884 GB, free: 10.56 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.003993, allocations: 0 / 0.7884 GB, free: 10.56 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.003994, allocations: 3.938 kB / 0.7884 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.115e-05/0.004085, allocations: 65.02 kB / 0.7884 GB, free: 10.47 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 6.903e-06/0.004092, allocations: 4.641 kB / 0.7884 GB, free: 10.47 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.224e-05/0.004105, allocations: 4 kB / 0.7885 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.291e-06/0.004111, allocations: 0.875 kB / 0.7885 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.316e-05/0.004124, allocations: 0 / 0.7885 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.192e-06/0.004125, allocations: 1.938 kB / 0.7885 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.54e-05/0.004171, allocations: 75.28 kB / 0.7885 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.004171, allocations: 0 / 0.7885 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000179/0.00435, allocations: 0 / 0.7885 GB, free: 10.39 MB / 0.7448 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.0001164/0.004466, allocations: 101.4 kB / 0.7886 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 6.501e-05/0.004531, allocations: 8 kB / 0.7886 GB, free: 10.28 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.004533, allocations: 0 / 0.7886 GB, free: 10.28 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 5.3e-06/0.004538, allocations: 0 / 0.7886 GB, free: 10.28 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001342/0.004672, allocations: 4 kB / 0.7886 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002097/0.004882, allocations: 82.75 kB / 0.7887 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.605e-05/0.004938, allocations: 56.08 kB / 0.7888 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 9.868e-06/0.004948, allocations: 0 / 0.7888 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.457e-05/0.004972, allocations: 9.031 kB / 0.7888 GB, free: 10.08 MB / 0.7448 GB Notification: Performance of SimCode: time 5.21e-07/0.004973, allocations: 1.625 kB / 0.7888 GB, free: 10.08 MB / 0.7448 GB Notification: Performance of Templates: time 0.002455/0.007428, allocations: 194.5 kB / 0.789 GB, free: 9.895 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Time.Examples.ModelTime.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Time.Examples.ModelTime.pipe ; mkfifo Buildings_11_Buildings.Utilities.Time.Examples.ModelTime.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Time.Examples.ModelTime.pipe >> ../files/Buildings_11_Buildings.Utilities.Time.Examples.ModelTime.sim & ./Buildings_11_Buildings.Utilities.Time.Examples.ModelTime -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Time.Examples.ModelTime.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Time.Examples.ModelTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Time_Examples_ModelTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 7.418909957050346]